[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15244697#comment-15244697
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9322:
--------------------------------------------

Github user prashanthvarma commented on the pull request:

    https://github.com/apache/cloudstack/pull/1452#issuecomment-211044426
  
    @DaanHoogland Sure, here is an example Nuage VSP SDN plugin specific Marvin 
tests config file contents:
    
    {
        "zones": [
            {
                "name": "MyZone",
                "guestcidraddress": "10.1.1.0/24", 
                "dns2": "8.8.6.6", 
                "dns1": "10.10.0.10", 
                "physical_networks": [
                    {
                        "broadcastdomainrange": "Zone", 
                        "isolationmethods": [
                            "VLAN"
                        ], 
                        "name": "Management Network", 
                        "traffictypes": [
                            {
                                "kvm": "mgmtbr0", 
                                "typ": "Management"
                            }, 
                            {
                                "kvm": "mgmtbr0", 
                                "typ": "Public"
                            }, 
                            {
                                "kvm": "mgmtbr0", 
                                "typ": "Storage"
                            }
                        ], 
                        "providers": [
                            {
                                "broadcastdomainrange": "ZONE", 
                                "name": "VirtualRouter"
                            }
                        ]
                    }, 
                    {
                        "broadcastdomainrange": "Zone", 
                        "isolationmethods": [
                            "VSP"
                        ], 
                        "name": "Nuage Network", 
                        "traffictypes": [
                            {
                                "kvm": "alubr0", 
                                "typ": "Guest"
                            }
                        ], 
                        "providers": [
                            {
                                "broadcastdomainrange": "ZONE", 
                                "name": "VirtualRouter"
                            }, 
                            {
                                "broadcastdomainrange": "ZONE", 
                                "name": "NuageVsp", 
                                "devices": [
                                    {
                                        "username": "csproot", 
                                        "retryinterval": "60", 
                                        "hostname": "10.30.35.129",
                                        "apiversion": "v3_2", 
                                        "retrycount": "4", 
                                        "password": "csproot", 
                                        "port": 8443
                                    }
                                ]
                            }, 
                            {
                                "broadcastdomainrange": "ZONE", 
                                "name": "VpcVirtualRouter"
                            }, 
                            {
                                "broadcastdomainrange": "ZONE", 
                                "name": "InternalLbVm"
                            }
                        ]
                    }
                ], 
                "securitygroupenabled": "false", 
                "ipranges": [
                    {
                        "startip": "10.29.1.1", 
                        "endip": "10.29.9.255", 
                        "netmask": "255.255.0.0", 
                        "gateway": "10.29.0.1"
                    }
                ], 
                "networktype": "Advanced", 
                "pods": [
                    {
                        "endip": "10.20.15.255", 
                        "name": "P0", 
                        "startip": "10.20.8.0", 
                        "netmask": "255.255.0.0", 
                        "clusters": [
                            {
                                "clustername": "P0C0", 
                                "hypervisor": "kvm", 
                                "hosts": [
                                    {
                                        "username": "root", 
                                        "url": "http://test-kvm";, 
                                        "password": "password"
                                    }
                                ], 
                                "clustertype": "CloudManaged", 
                                "primaryStorages": [
                                    {
                                        "url": "nfs://10.20.128.14/primary", 
                                        "name": "P0C0-primaryStorage"
                                    }
                                ]
                            }
                        ], 
                        "gateway": "10.20.0.1"
                    }
                ], 
                "internaldns1": "10.10.0.10", 
                "internaldns2": "", 
                "secondaryStorages": [
                    {
                        "url": "nfs://10.20.128.14/secondary", 
                        "provider": "NFS"
                    }
                ]
            }
        ], 
        "dbSvr": {
            "dbSvr": "csc-1",
            "passwd": "cloud", 
            "db": "cloud", 
            "port": 3306, 
            "user": "cloud"
        }, 
        "logger":
            {
                "LogFolderPath": "/tmp/"
            },
        "globalConfig": [
            {
                "name": "storage.cleanup.interval", 
                "value": "300"
            }, 
            {
                "name": "direct.agent.load.size", 
                "value": "1000"
            }, 
            {
                "name": "default.page.size", 
                "value": "10000"
            }, 
            {
                "name": "instance.name", 
                "value": "VM"
            }, 
            {
                "name": "workers", 
                "value": "10"
            }, 
            {
                "name": "vm.op.wait.interval", 
                "value": "5"
            }, 
            {
                "name": "account.cleanup.interval", 
                "value": "600"
            }, 
            {
                "name": "guest.domain.suffix", 
                "value": "test.d1c.nuagenetworks.net"
            }, 
            {
                "name": "expunge.delay", 
                "value": "60"
            }, 
            {
                "name": "vm.allocation.algorithm", 
                "value": "random"
            }, 
            {
                "name": "expunge.interval", 
                "value": "60"
            }, 
            {
                "name": "expunge.workers", 
                "value": "3"
            }, 
            {
                "name": "secstorage.allowed.internal.sites", 
                "value": "10.0.0.0/16"
            }, 
            {
                "name": "check.pod.cidrs", 
                "value": "true"
            }
        ], 
        "mgtSvr": [
            {
                "mgtSvrIp": "csc-1",
                "port": 8096,
                "user": "root",
                "passwd": "password"
            }
        ]
    }
    
    Let me know, if you need anything else from our side.


> Support for Internal LB fuctionality with Nuage VSP SDN Plugin including 
> Marvin test coverage
> ---------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-9322
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9322
>             Project: CloudStack
>          Issue Type: Task
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation, Network Controller
>            Reporter: Mani Prashanth Varma Manthena
>             Fix For: 4.9.0
>
>         Attachments: results.txt, runinfo.txt
>
>
> PR: https://github.com/apache/cloudstack/pull/1452
> PR contents:
> 1) UI changes to support LB provider “InternalLbVm” during VPC offering 
> creation.
> 2) Bug fix for CLOUDSTACK-9320.
> 3) Nuage VSP SDN Plugin related enhancements for VPC network functionality.
> 4) Marvin test coverage for Internal LB support on master with Nuage VSP SDN 
> Plugin.
> 5) Enhancements on our exiting Marvin test code (nuagevsp plugins directory).
> 6) PEP8 & PyFlakes compliance with our Marvin test code.
> Test run:
> CloudStack$ nosetests --with-marvin --marvin-config=nuage_ant.cfg 
> test/integration/plugins/nuagevsp/ -a tags=nuagevsp
> Test results:
> Test user data and password reset functionality with Nuage VSP SDN plugin ... 
> === TestName: test_nuage_UserDataPasswordReset | Status : SUCCESS ===
> ok
> Test Nuage VSP VPC Offering with different combinations of LB service 
> providers ... === TestName: test_01_nuage_internallb_vpc_Offering | Status : 
> SUCCESS ===
> ok
> Test Nuage VSP VPC Network Offering with and without Internal LB service ... 
> === TestName: test_02_nuage_internallb_vpc_network_offering | Status : 
> SUCCESS ===
> ok
> Test Nuage VSP VPC Networks with and without Internal LB service ... === 
> TestName: test_03_nuage_internallb_vpc_networks | Status : SUCCESS ===
> ok
> Test Nuage VSP VPC Internal LB functionality with different combinations of 
> Internal LB rules ... === TestName: test_04_nuage_internallb_rules | Status : 
> SUCCESS ===
> ok
> Test Nuage VSP VPC Internal LB functionality by performing (wget) traffic 
> tests within a VPC ... === TestName: test_05_nuage_internallb_traffic | 
> Status : SUCCESS ===
> ok
> Test Nuage VSP VPC Internal LB functionality with different LB algorithms by 
> performing (wget) traffic tests ... === TestName: 
> test_06_nuage_internallb_algorithms_traffic | Status : SUCCESS ===
> ok
> Test Nuage VSP VPC Internal LB functionality with restarts of VPC network 
> components by performing (wget) ... === TestName: 
> test_07_nuage_internallb_vpc_network_restarts_traffic | Status : SUCCESS ===
> ok
> Test Nuage VSP VPC Internal LB functionality with InternalLbVm appliance 
> operations by performing (wget) ... === TestName: 
> test_08_nuage_internallb_appliance_operations_traffic | Status : SUCCESS ===
> ok
> Test Basic VPC Network Functionality with Nuage VSP SDN plugin ... === 
> TestName: test_nuage_vpc_network | Status : SUCCESS ===
> ok
> Test Nuage VSP SDN plugin with basic Isolated Network functionality ... === 
> TestName: test_nuage_vsp | Status : SUCCESS ===
> ok
> Ran 11 tests in 12094.705s
> OK
> PEP8 & PyFlakes Compliance:
> CloudStack$ pep8 --max-line-length=150 test/integration/plugins/nuagevsp/*.py
> CloudStack$ pyflakes test/integration/plugins/nuagevsp/nuageTestCase.py
> CloudStack$ pyflakes 
> test/integration/plugins/nuagevsp/test_nuage_password_reset.py
> CloudStack$ pyflakes 
> test/integration/plugins/nuagevsp/test_nuage_vpc_internal_lb.py
> CloudStack$ pyflakes 
> test/integration/plugins/nuagevsp/test_nuage_vpc_network.py
> CloudStack$ pyflakes test/integration/plugins/nuagevsp/test_nuage_vsp.py
> CloudStack$ pyflakes test/integration/plugins/nuagevsp/*.py



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to