summaryrefslogtreecommitdiffstats
path: root/core/vswitch_controller_p2p.py
diff options
context:
space:
mode:
authorBilly O'Mahony <billy.o.mahony@intel.com>2015-08-25 11:35:28 +0100
committerMaryam Tahhan <maryam.tahhan@intel.com>2015-09-24 15:46:45 +0000
commitf8739e7feb9973550ef2fc69e6768b331e0ef28e (patch)
tree95130231c6d71be9333aa44dea9193ab885a43cb /core/vswitch_controller_p2p.py
parent081ace7342b175f8e06d8aa9848e2aa4557f65c8 (diff)
Frame Modification: support remaining frame modification types.
Only works for P2P. Other deployment scenarios will need to implement the same kind of multi-table flow as P2P to enable frame modification. Signed-off-by: Billy O'Mahony<billy.o.mahony@intel.com> Reviewed-by: Maryam Tahhan <maryam.tahhan@intel.com> Reviewed-by: Martin Klozik <martinx.klozik@intel.com> Reviewed-by: Radek Zetik <radekx.zetik@intel.com> Reviewed-by: Dino Madarang <dino.simeonx.madarang@intel.com> Change-Id: I2fa35972b90b165c00f0d0a7515fa275d0f17aa4
Diffstat (limited to 'core/vswitch_controller_p2p.py')
-rw-r--r--core/vswitch_controller_p2p.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/vswitch_controller_p2p.py b/core/vswitch_controller_p2p.py
index f2ed73dd..a1158d4e 100644
--- a/core/vswitch_controller_p2p.py
+++ b/core/vswitch_controller_p2p.py
@@ -88,10 +88,6 @@ class VswitchControllerP2P(IVswitchController):
# ovs-discuss 2015-06-30.
flow = {'table':'3', 'priority':'1', 'actions': ['drop']}
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