Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
None
-
None
-
None
-
Operating System: Linux
Platform: PC
-
381
Description
We cannot use set-field action for:
ETH_TYPE
ICMPV4_TYPE
ICMPV4_CODE
ARP_OP
ARP_SPA
ARP_TPA
ARP_SHA
ARP_THA
IPV6_FLABEL
ICMPV6_TYPE
ICMPV6_CODE
IPV6_ND_TARGET
IPV6_ND_SLL
IPV6_ND_TLL
We were testing using XMLs and the odl_tests.py script, which failed.
When we tried to do it manually over CLI, this is the output:
mininet@mininet-vm:~$ sudo ovs-ofctl O OpenFlow13 add-flow s1 "dl_type=0x800,table=2,nw_src=1.2.3.4/24,metadata=12345,actions=set_field:0x86DD>dl_type"
ovs-ofctl: dl_type is read-only
mininet@mininet-vm:~$ sudo ovs-ofctl O OpenFlow13 add-flow s1 "table=2,priority=2,dl_type=0x86DD,dl_dst=aa:bb:cc:00:64:00,nw_proto=1,actions=set_field:7>icmp_code"
ovs-ofctl: icmp_code is read-only
mininet@mininet-vm:~$ sudo ovs-ofctl O OpenFlow13 add-flow s1 "table=2,priority=2,dl_type=0x86DD,dl_dst=aa:bb:cc:00:64:00,nw_proto=1,actions=set_field:7>icmp_code"
ovs-ofctl: icmp_code is read-only
and so on.
Version Info:
mininet@mininet-vm:~/removeMDFlow-test-scripts$ ovs-ofctl -V
ovs-ofctl (Open vSwitch) 2.0.0
Compiled Nov 11 2013 12:25:52
OpenFlow versions 0x1:0x4
mininet@mininet-vm:~/removeMDFlow-test-scripts$ mn --version
2.1.0
krish@krish-Ubuntu32:~/Desktop/shared/E_DRIVE/openflowplugin$ git log
commit 49029e5d7978e4bf9f9c56f1ec98a264f61ff203
Author: Ed Warnicke <eaw@cisco.com>
Date: Sat Jan 25 21:33:22 2014 -0600
Turned down logging in ErrorTranslator from ERROR to DEBUG
Change-Id: I296451951e41320def91234b67671211948f5908
Signed-off-by: Ed Warnicke <eaw@cisco.com>