From 204a30e7f8d2c7b51208767c715916729b6017b2 Mon Sep 17 00:00:00 2001 From: Billy O'Mahony Date: Tue, 7 Jul 2015 14:26:14 +0100 Subject: testcase: Add frame modification config * Added a new standard set of flow table that defaults to routing phy1 to phy2 and vice-versa and allows frame modification and tuple matches to be added independently of routing. * Add a FrameMod testcase attribute - implement this for value 'vlan' * With FrameMod == 'vlan' the reported tx_fps and rx_fps figures do not match even for RFC2544 throughtput 0% packet loss - this is a pre-existing bug and a fix will be done as a separate patch. The rx_fps figure is the reliable figure. JIRA: VSPERF-27 Change-Id: Idd137b7a101305e7aebb6fabdfb6a7a4dcf8661b Signed-off-by: Billy O'Mahony Reviewed-by: Al Morton Reviewed-by: Eugene Snider Reviewed-by: Maryam Tahhan Reviewed-by: Gurpreet Singh Reviewed-by: Tv Rao --- src/ovs/ofctl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ovs') diff --git a/src/ovs/ofctl.py b/src/ovs/ofctl.py index c6aaddc9..a2a15ce1 100644 --- a/src/ovs/ofctl.py +++ b/src/ovs/ofctl.py @@ -124,7 +124,7 @@ class OFBridge(OFBase): :return: None """ - cmd = ['sudo', _OVS_OFCTL_BIN, '--timeout', str(self.timeout)] + args + cmd = ['sudo', _OVS_OFCTL_BIN, '-O', 'OpenFlow13', '--timeout', str(self.timeout)] + args return tasks.run_task( cmd, self.logger, 'Running ovs-ofctl...', check_error) -- cgit 1.2.3-korg