[Ryu-devel] [PATCH] ofproto_v1_5: Add test case for OFPExperimenter

2016-03-09 Thread Minoru TAKAHASHI
Signed-off-by: Minoru TAKAHASHI --- .../packet_data/of15/libofproto-OFP15-experimenter.packet | Bin 0 -> 20 bytes .../json/of15/libofproto-OFP15-experimenter.packet.json| 7 +++ 2 files changed, 7 insertions(+) create mode 100644 ryu/tests/packet_data/of15/libofproto-OFP15-experimen

[Ryu-devel] [PATCH] ofproto_v1_5: Reduce an unnecessary code

2016-03-09 Thread Minoru TAKAHASHI
Signed-off-by: Minoru TAKAHASHI --- ryu/ofproto/ofproto_v1_5_parser.py | 1 - 1 file changed, 1 deletion(-) diff --git a/ryu/ofproto/ofproto_v1_5_parser.py b/ryu/ofproto/ofproto_v1_5_parser.py index 744107c..f7ca3be 100644 --- a/ryu/ofproto/ofproto_v1_5_parser.py +++ b/ryu/ofproto/ofproto_v1_5_

[Ryu-devel] [PATCH 3/3] doc/app/ofctl_rest: Update description for action type of experimenter

2016-03-09 Thread Minoru TAKAHASHI
Signed-off-by: Minoru TAKAHASHI --- doc/source/app/ofctl_rest.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/source/app/ofctl_rest.rst b/doc/source/app/ofctl_rest.rst index 363b74d..67f8511 100644 --- a/doc/source/app/ofctl_rest.rst +++ b/doc/source/app/ofctl_rest.rst @@ -2165,6 +2

[Ryu-devel] [PATCH 1/3] ofproto_v1_3: Add unit test cases for action experimenter

2016-03-09 Thread Minoru TAKAHASHI
Signed-off-by: Minoru TAKAHASHI --- .../of13/4-12-ofp_flow_stats_reply.packet | Bin 520 -> 552 bytes ryu/tests/packet_data/of13/4-2-ofp_flow_mod.packet | Bin 264 -> 280 bytes ryu/tests/packet_data_generator/src/x4.erl | 10 +- .../of13/4-12-ofp_flow_stats_reply.packet.

[Ryu-devel] [PATCH 2/3] ofctl_v1_3: Add support for using action experimenter

2016-03-09 Thread Minoru TAKAHASHI
This patch makes it possible for ofctl_v1_3 to use the action type of experimenter. Signed-off-by: Minoru TAKAHASHI --- ryu/lib/ofctl_v1_3.py | 14 ++ .../ofctl_json/of13/4-12-ofp_flow_stats_reply.packet.json | 4 +++- .../unit/lib/ofctl_json/o

Re: [Ryu-devel] Bad argument in SET_FIELD action (Code=15)

2016-03-09 Thread Talal Al
I've tried what is being suggested but without luck. When I wanted set up fields such as eth_type, ip_proto, icmpv6_type, icmpv6_code as shown below, I still got the error " Bad arguement" (code 15), however the rest is fine such as ipv6_dst, ipv6_src. Could you please advise me on this ? O

Re: [Ryu-devel] Bad argument in SET_FIELD action (Code=15)

2016-03-09 Thread Talal Al
Thanks Shinpei, I'll change the values accordingly, but what's the correct value for neighbor solicitation and neighbor advertisement ? Cheers, Talal > On Mar 9, 2016, at 6:08 PM, Shinpei Muraoka wrote: > > Hi > > > I've installed rules on the Openflow switch(v 1.3) to set fields, and > >

Re: [Ryu-devel] Bad argument in SET_FIELD action (Code=15)

2016-03-09 Thread Shinpei Muraoka
Hi > I've installed rules on the Openflow switch(v 1.3) to set fields, and > I've not faced any problem until I tried to set icmpv6_type, icmp6_code, > I got "error msg ev version: 0x4 msg_type 0x1 xid 0x250d815d > OFPErrorMsg(code=15,data='\x04\x0e\x00\xc8%\r\x81]\x00\x00\x00\x00\x00...". >