Hi Sorry for the late relpy.
> 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. Maybe, version of the Open vSwitch does not may be a problem. What is the version of the Open vSwitch you are useing? Running without any problems with the following settings in the latest version (2.5.90) of the Open vSwitch. https://github.com/osrg/ryu/blob/master/ryu/tests/switch/of13/action/25_SET_FIELD/29_ICMPV6_TYPE.json#L4-L74 https://github.com/osrg/ryu/blob/master/ryu/tests/switch/of13/action/25_SET_FIELD/30_ICMPV6_CODE.json#L4-L73 Please try to check the operation by using the latest version (2.5.90) of the Open vSwitch. Thanks, On 2016年03月10日 08:03, Talal Al wrote: > 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 ? > > OFPActionSetField(eth_type=34525)) > OFPActionSetField(ip_proto=58)) > OFPActionSetField(icmpv6_type=128)) > OFPActionSetField(icmpv6_code=0)) > > > From: [email protected] > > Date: Wed, 9 Mar 2016 19:25:34 +1000 > > To: [email protected] > > CC: [email protected] > > Subject: Re: [Ryu-devel] Bad argument in SET_FIELD action (Code=15) > > > > 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 > <[email protected]> wrote: > > > > > > 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...". > > > > When I refered to the spec 1.3, code#15 is "Bad argument in SET_FIELD > > > > action". I tried serveral ways but without luck. > > > > > > Do you set the following values for match field when using the > icmpv6_type or icmpv6_code? > > > - "eth_type":34525 > > > - "ip_proto":58 > > > - "icmpv6_type":128 > > > - "icmpv6_code":0 > > > > > > If you set at the same value as the icmpv4_type and icmpv4_code, > > > please correct the value. > > > > > > > > > Thanks, > > > > > >> On 2016年03月09日 09:41, Talal Al wrote: > > >> Dear All, > > >> > > >> 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...". > > >> When I refered to the spec 1.3, code#15 is "Bad argument in SET_FIELD > > >> action". I tried serveral ways but without luck. > > >> > > >> Could you please advise me what to do in order to set these fields ? > > >> > > >> Cheers, > > >> Talal > > >> > > >> > > >> > ------------------------------------------------------------------------------ > > >> Transform Data into Opportunity. > > >> Accelerate data analysis in your applications with > > >> Intel Data Analytics Acceleration Library. > > >> Click to learn more. > > >> http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > >> > > >> > > >> > > >> _______________________________________________ > > >> Ryu-devel mailing list > > >> [email protected] > > >> https://lists.sourceforge.net/lists/listinfo/ryu-devel > > >> > > > ------------------------------------------------------------------------------ > > Transform Data into Opportunity. > > Accelerate data analysis in your applications with > > Intel Data Analytics Acceleration Library. > > Click to learn more. > > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > > _______________________________________________ > > Ryu-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/ryu-devel ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
