Hi, Please look into the ovs-vswitchd.log, there should be something logged. If you're using Ubuntu, the file is in /var/log/openvswitch/.
BTW, another test is ovs-ofctl, please test following command. # Please rename br0 with your bridge name. sudo ovs-ofctl -O OpenFlow13 add-flow br0 \ ipv6,ip_proto=58,icmpv6_type=128,icmpv6_code=0 \ actions=output:controller On 2016/03/18 11:44, Talal Al wrote: > I've managed to update the openvswitch to 2.5.0, but still I'm getting > the same error (Bad argument in SET_FIELD action (Code=15) > > Any suggestion ?? > > Cheers, > Talal > > > To: [email protected]; [email protected] > > From: [email protected] > > Date: Mon, 14 Mar 2016 12:02:29 +0900 > > Subject: Re: [Ryu-devel] Bad argument in SET_FIELD action (Code=15) > > > > Hi, > > > > Please keep mailing list. > > > > > > > Thank you ,but last command did not work "No such file or dirctory" > > > > What kind of file or directory you do not exist? > > > > If do you not exist "/usr/local/etc/openvswitch/", please try to run the > > following command. > > > > $ mkdir -p /usr/local/etc/openvswitch > > > > > > If you have failed to remove the > > "/usr/local/etc/openvswitch/.conf.db.~lock~". > > "/usr/local/etc/openvswitch/.conf.db.~lock~" is a lock file of DB,so no > > problem. > > > > > > Please refer to the below for Open vSwitch installation instructions. > > https://github.com/openvswitch/ovs/blob/master/INSTALL.md > > > > Thanks, > > > > On 2016年03月11日 12:57, Talal Al wrote: > > > Thank you ,but last command did not work "No such file or dirctory" > > > > > > And when I try MIninet did not work too > > > > > > > To: [email protected]; [email protected] > > > > From: [email protected] > > > > Date: Fri, 11 Mar 2016 12:05:32 +0900 > > > > Subject: Re: [Ryu-devel] Bad argument in SET_FIELD action (Code=15) > > > > > > > > Hi, > > > > > > > > Please try to run the following command. > > > > > > > > $ cd ~/ovs > > > > $ sudo make distclean > > > > $ git pull > > > > $ ./boot.sh > > > > $ ./configure --with-linux=/lib/modules/`uname -r`/build > > > > $ make && sudo make install && sudo make modules_install && sudo > depmod > > > > $ sudo rm -f /usr/local/etc/openvswitch/conf.db > > > > /usr/local/etc/openvswitch/.conf.db.~lock~ > > > > $ sudo ovsdb-tool create /usr/local/etc/openvswitch/conf.db > > > > vswitchd/vswitch.ovsschema > > > > > > > > > > > > Thanks, > > > > > > > > On 2016年03月11日 11:57, Talal Al wrote: > > > > > Sorry, > > > > > > > > > > It's (2.3.90). > > > > > > > > > > How can it be upgraded to the version you mention ? > > > > > > > > > > Thanks. > > > > > > > > > > > To: [email protected]; [email protected] > > > > > > From: [email protected] > > > > > > Date: Fri, 11 Mar 2016 11:47:57 +0900 > > > > > > Subject: Re: [Ryu-devel] Bad argument in SET_FIELD action > (Code=15) > > > > > > > > > > > > Hi, > > > > > > > > > > > > > I've tried OpenFlow 1.3, 1.4 and 1.5. None of them works > > > > > > > > > > > > You've got me wrong. > > > > > > Do not misunderstand the version of the OpenFlow version and Open > > > > > > vSwitch version? > > > > > > I pointed out version of the Open vSwitch. > > > > > > Please check the version of the Open vSwitch in the following > > > command. > > > > > > > > > > > > $ sudo ovs-vsctl --version > > > > > > > > > > > > > > > > > > Thanks, > > > > > > > > > > > > On 2016年03月11日 11:23, Talal Al wrote: > > > > > > > I've tried OpenFlow 1.3, 1.4 and 1.5. None of them works > > > > > > > > > > > > > > > To: [email protected]; [email protected] > > > > > > > > From: [email protected] > > > > > > > > Date: Fri, 11 Mar 2016 11:19:35 +0900 > > > > > > > > Subject: Re: [Ryu-devel] Bad argument in SET_FIELD action > > > (Code=15) > > > > > > > > > > > > > > > > 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 > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------------ > > > > > > 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=278785231&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=278785231&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=278785231&iu=/4140 _______________________________________________ Ryu-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ryu-devel
