Sanjeev N created CLOUDSTACK-9102:
-------------------------------------

             Summary: Resolve issues with test_vpc_vpn.py test suite file
                 Key: CLOUDSTACK-9102
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9102
             Project: CloudStack
          Issue Type: Test
      Security Level: Public (Anyone can view this level - this is the default.)
            Reporter: Sanjeev N
            Assignee: Sanjeev N


Following issues are found in test_vpc_vpn.py file:

1. UnboundLocalError:
This is because we are using some variables before assignment. This is related 
to python syntax and requires a code change
2. Template registration based on the hypervisor:
The functionality in this test is nothing to do with template registration. So 
remove template registration part and make it generic for all the hypervisors
3. Getting default vpc offering from the list of vpc offerings:
Test was listing default vpc offerings and taking the first one from the list. 
Hoever, cloudstack provides three default vpc offerings and first one in the 
list is always the Nuage VPC offering. So if we try to create vpc with this 
offering it will fail because we would not have the Nuage service provider in 
the physical network. So need to change the way we get the default vpc offering.




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

Reply via email to