From: aaronorosen Date: Wed, 25 Jul 2012 17:35:28 +0000 (-0400) Subject: Update openvswitch tunnel unittest X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=ef6af3e3d2da3e1483b201b98b06c4555e90f6e7;p=openstack-build%2Fneutron-build.git Update openvswitch tunnel unittest Bug #1029024 Change-Id: Ie37ef0c3355e86f504fa71417921bb828b40e347 --- diff --git a/quantum/plugins/openvswitch/tests/unit/test_tunnel.py b/quantum/plugins/openvswitch/tests/unit/test_tunnel.py index 8263869d4..5fd954591 100644 --- a/quantum/plugins/openvswitch/tests/unit/test_tunnel.py +++ b/quantum/plugins/openvswitch/tests/unit/test_tunnel.py @@ -31,7 +31,8 @@ LV_IDS = [42, 43] LVM = ovs_quantum_agent.LocalVLANMapping(LV_ID, LS_ID, LV_IDS) VIF_ID = '404deaec-5d37-11e1-a64b-000c29d5f0a8' VIF_MAC = '3c:09:24:1e:78:23' -VIF_PORT = ovs_lib.VifPort('port', 'ofport', +OFPORT_NUM = 1 +VIF_PORT = ovs_lib.VifPort('port', OFPORT_NUM, VIF_ID, VIF_MAC, 'switch')