From ef6af3e3d2da3e1483b201b98b06c4555e90f6e7 Mon Sep 17 00:00:00 2001 From: aaronorosen Date: Wed, 25 Jul 2012 13:35:28 -0400 Subject: [PATCH] Update openvswitch tunnel unittest Bug #1029024 Change-Id: Ie37ef0c3355e86f504fa71417921bb828b40e347 --- quantum/plugins/openvswitch/tests/unit/test_tunnel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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') -- 2.45.2