aboutsummaryrefslogtreecommitdiffstats
path: root/core/vswitch_controller_p2p.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/vswitch_controller_p2p.py')
-rw-r--r--core/vswitch_controller_p2p.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/vswitch_controller_p2p.py b/core/vswitch_controller_p2p.py
index ceb29aa9..a71f42f5 100644
--- a/core/vswitch_controller_p2p.py
+++ b/core/vswitch_controller_p2p.py
@@ -62,6 +62,9 @@ class VswitchControllerP2P(IVswitchController):
flow = add_ports_to_flow(_FLOW_TEMPLATE, phy1_number, phy2_number)
self._vswitch.add_flow(BRIDGE_NAME, flow)
+ flow = add_ports_to_flow(_FLOW_TEMPLATE, phy2_number, phy1_number)
+ self._vswitch.add_flow(BRIDGE_NAME, flow)
+
except:
self._vswitch.stop()
raise