Hi, You are using OVS with OpenFlow version 1.3, right?
SET_NW_DST action is OpenFlow 1.0 action and not defined on OpenFlow 1.3. For rewriting "nw_dest" ("ipv4_dst" in OpenFlow 1.3), please use SET_FIELD action instead. http://ryu.readthedocs.io/en/latest/app/ofctl_rest.html#description-of-actions-on-request-messages Thanks, Iwase On 2017年02月09日 21:19, Nir Shnek wrote: > Hello, > > > I'm using latest RYU application in order to configure OVS instance. > > I'm running the RYU on one linux p.c as open flow controller, on other p.c > i'm running OVS as open flow agent. > > My actions are are: > > 1. executing the following command on my linux p.c - ryu-manager > ryu.app.ofctl_rest --verbose > 2. setting the RYU as OVS controller > 3. executing the following : > curl -X POST -d '{ > "dpid": 4233251550072773319, > "match":{ > "ipv4_dst": "192.168.10.0/255.255.255.0", "eth_type": 2048, > }, > "actions":[ > { > "type": "SET_NW_DST", "nw_dst": "10.0.0.1" > } > ] > }' http://localhost:8080/stats/flowentry/add > 4. > I'm getting the following error message : > Unknown action type: SET_NW_DST > Sending message with xid(8cca6a95) to datapath(3abf87db26f59ac7): > version=None,msg_type=None,msg_len=None,xid=0x8cca6a95,OFPFlowMod(buffer_id=4294967295,command=0,cookie=0,cookie_mask=0,flags=1,hard_timeout=30,idle_timeout=30,instructions=[],match=OFPMatch(oxm_fields={'eth_type': > 2048, 'ipv4_dst': ('192.168.20.0', > '255.255.255.0')}),out_group=4294967295,out_port=4294967295,priority=111,table_id=0) > 127.0.0.1 - - [09/Feb/2017 14:04:25] "POST /stats/flowentry/add HTTP/1.1" > 200 139 0.002880 > > Can you please advise me what i'm missing ? > > Thanks In Advance, > Nir Shnek > > E-Banner > <http://mrv.com/contact-mrv-communications/?interest=Subscribe%20to%20Newsletter> > > > MRV Communications is a global supplier of packet and optical solutions that > power the world’s largest networks. Our products combine innovative hardware > with intelligent software to make networks smarter, faster and more efficient. > > > > The contents of this message, together with any attachments, are intended > only for the use of the person(s) to whom they are addressed and may contain > confidential and/or privileged information. If you are not the intended > recipient, immediately advise the sender, delete this message and any > attachments and note that any distribution, or copying of this message, or > any attachment, is prohibited. > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > > > > _______________________________________________ > Ryu-devel mailing list > Ryu-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/ryu-devel > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel