Fix dpdk attributes for bond interfaces

Change-Id: If52aa8fca4dc6eb69940ec344a8b6de3fb39ed86
Partial-bug: #1668289
This commit is contained in:
ibumarskov 2017-03-14 14:57:58 +04:00 committed by Ilya Bumarskov
parent 04068c9f92
commit 1fabdff3cf
2 changed files with 4 additions and 1 deletions

View File

@ -3143,6 +3143,8 @@ class FuelWebClient29(object):
logger.debug("Using new interface serialization scheme")
target_interface['attributes']['dpdk'][
'enabled']['value'] = switch_to
if target_interface['type'] == 'bond':
target_interface['attributes']['type__']['value'] = 'dpdkovs'
self.client.put_node_interfaces([{'id': nailgun_node_id,
'interfaces': compute_interfaces}])

View File

@ -378,7 +378,8 @@ class SupportDPDKBond(BondingTestDPDK, TestDPDK):
'slave-01': ['controller'],
'slave-02': ['compute', 'cinder'],
'slave-03': ['compute', 'cinder']
}
},
update_interfaces=False
)
self.show_step(4)