210
216
def test_port_vif_details_override(self):
211
217
# ivshost is in the test config to override to IVS
212
218
kwargs = {'name': 'name', 'binding:host_id': 'ivshost',
214
221
with self.port(**kwargs) as port:
215
222
self.assertEqual(port['port']['binding:vif_type'],
216
223
portbindings.VIF_TYPE_IVS)
217
226
kwargs = {'name': 'name2', 'binding:host_id': 'someotherhost',
218
227
'device_id': 'other_dev'}
219
228
with self.port(**kwargs) as port: