Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-49125

ipam-extensions e2e: Align primary and secondary tests

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • CNV Network
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • CNV-51201 - Integration between VMs and primary user-defined networks
    • ---
    • ---
    • None

      Right now e2e tests for primary-UDN and secondary interfaces are basically the same, with a few diffs:
      1. networkInterfaceName is different (nad-name vs "ovn-udn1)
      2. VMI is created with different interface (secondary vs primary binding )
      3. NAD created with different role(secondary vs primary)
      4. IPs retreival: In Secondary the IPs are retrieved via vmi.status, while in primaryUDN the IPS are extracted using network-status annotation.

      1-3 can be parameterized to achieve cleaner code.
      4 should be aligned to vmi.status as soon as kubevirt/kubevirt supports it for primaryUDN.

              ralavi@redhat.com Ram Lavi
              ralavi@redhat.com Ram Lavi
              Yossi Segev Yossi Segev
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: