Uploaded image for project: 'VNF Validation Program'
  1. VNF Validation Program
  2. VVP-188

Support fixed_ips parameters with v6 in the network role name

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Dublin Release
    • Dublin Release
    • None
    • VVP- Dublin 5

      If a parameter for a fixed IP or subnet has the string "v6" in the network role portion of the parameter name, then the following tests may fail incorrectly:

      test_allowed_address_pairs_include_vm_type_network_role
      test_fixed_ips_include_vm_type_network_role
      test_neutron_port_fixed_ips_subnet

      They each use a regex pattern like: (?P<network_role>.+[^(v6)])(_v6)?_subnet_id$

      If the network role has v6 in it (ex: datav6), then this will fail.

      To fix the v6 issue, the regex should likely be updated to something like: (?P<network_role>.+?)(_v6)?_subnet_id$

      It also appears that the first 2 tests would also have trouble parsing the parameter correctly if either (or both) of the vm-type and network-role had an underscore in them which is allowed. This should be tested and resolved as part of this fix as well

            ss820f ss820f
            tl2972 tl2972
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: