Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-9102

Resolve issues with test_vpc_vpn.py test suite file

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      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.

      Attachments

        Activity

          People

            sanjeevn Sanjeev N
            sanjeevn Sanjeev N
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: