Error when adding SR-IOV interfaces in SR-IOV context 59/57659/4
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Mon, 21 May 2018 16:38:50 +0000 (17:38 +0100)
committerRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Tue, 22 May 2018 10:40:07 +0000 (11:40 +0100)
commit72df0eaac4a2a1f23439af7f249c2b5d18d1b819
treecdd7ce91fa5b8a644cb73fac5cba1188f953e2ad
parentb7f867ba873806a10972108fa19d26b2ae19fa58
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>
yardstick/benchmark/contexts/standalone/sriov.py
yardstick/tests/unit/benchmark/contexts/standalone/test_sriov.py