Error when adding SR-IOV interfaces in SR-IOV context 83/58783/2
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Mon, 21 May 2018 16:38:50 +0000 (17:38 +0100)
committerEmma Foley <emma.l.foley@intel.com>
Thu, 21 Jun 2018 12:42:51 +0000 (12:42 +0000)
commit28b4f64c06df81aed7144b0c74c7851d8cb4402d
treebd7fb18514f521030c53bb8fe33d1bb4b18f2ef0
parent5506dbf8d9163318f8028b7fabca416a3b7a2438
Error when adding SR-IOV interfaces in SR-IOV context

Method "add_sriov_interfaces" in Libvirt class throws an error when trying
to add SR-IOV interfaces in the XML file.

Function "setup_sriov_context" in SriovContext if passing to
"_enable_interfaces" method the XML file name instead of passing the XML
string.

JIRA: YARDSTICK-1189

Change-Id: If021c102311ecb98cb26934f78067dfc720e4291
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit 72df0eaac4a2a1f23439af7f249c2b5d18d1b819)
yardstick/benchmark/contexts/standalone/sriov.py
yardstick/tests/unit/benchmark/contexts/standalone/test_sriov.py