Update git submodules
* Update whitebox-tempest-plugin from branch 'master' to d7aa475dcadf98500c19d756815bf8797176583d - Merge "Added SR-IOV numa affinity testcases" - Added SR-IOV numa affinity testcases Created a new module, test_sriov.py, and new class, SRIOVNumaAffinity, to be responsible for two new test methods: test_sriov_affinity_preferred and test_sriov_affinity_required. These test methods were created to validate Nova feature [1]. The commit also adds two new config parameter: sriov_physnet and physnet_numa_affinity to the config group 'whitebox-hardware'. 'sriov_physnet' is the physical network mapping name that is associated with the underlying SR-IOV port that will be used in the test, e.g. 'physnet1'. physet_numa_affinity represents the NUMA Node ID that has affinity with the physnet for sriov_physnet. This expects a one to one mapping only, it does not take into account if the physnet to underlying NIC is one to many and the NIC's are on multiple seperate NUMAs. The two test methods follow similar test procedures but use different NUMA pci policies in their respective flavors. The test_sriov_affinity_preferred policy aggregates the PCPU's two NUMA Nodes, one with affinity to the SR-IOV NIC and another Node that does not. It aggregates the PCPU's from the two nodes to create a list of values for cpu_dedicated_set. It then attempts to create two instances with hw:cpu_policy=dedicated and a vCPU size large enough that a single instance should 'fill' a NUMA Node. Afterwards the test will then validate both instances were correctly deployed. For the test_sriov_affinity_required test method it creates a cpu_dedicated_set from the PCPU's of just the NUMA Node with affinity to the nic. It also attmpets to create two instances from the same type of flavor and confirms only one successfully deploys. There are also multiple helper methods added to SRIOVNumaAffinity which create networks, subnets, and ports for the instance(s). In addition there were methods added to parse instance XML to validate the network element accurately represents the expected SR-IOV information. [1]: https://review.opendev.org/#/c/674072/ Depends-on: https://review.opendev.org/#/c/731557/ Change-Id: I6c0ee584b642aaaa364545aeb9aa5f78d5c28aaf
This commit is contained in:
parent
d0d6107779
commit
222fc94c72
|
@ -1 +1 @@
|
|||
Subproject commit bfce3c67aa7e52f25195a54c458a3f024695baaf
|
||||
Subproject commit d7aa475dcadf98500c19d756815bf8797176583d
|
Loading…
Reference in New Issue