Re: [Ryu-devel] List of actions for REST API (OF 1.0)

2015-12-07 Thread Yusuke Iwase
Hi Sergio, On 2015年12月08日 14:42, Sergio Andrés Rivera Polanco wrote: > It does. Thank you for your reply. I will do it that way. However, I think > that hard-coding the port value is a bit odd, wouldn't it be better something > like the following instead? > > $ curl -X POST -d '{ > "dpid":

Re: [Ryu-devel] List of actions for REST API (OF 1.0)

2015-12-07 Thread Sergio Andrés Rivera Polanco
It does. Thank you for your reply. I will do it that way. However, I think that hard-coding the port value is a bit odd, wouldn't it be better something like the following instead? $ curl -X POST -d '{ "dpid": 1, "match":{ "in_port": 1 }, "actions":[ { "

Re: [Ryu-devel] Generate Packet-out with a 802.1 Q tagged payload..

2015-12-07 Thread Yusuke Iwase
Hi, On 2015年12月08日 13:57, nitish nagesh wrote: > Hello, > >I am trying to modify the existing example script to generate a packet out > for every packet-in. My requirement is to send a packet out message to the > switch with the Packet-Out payload containing a 802.1Q VLAN tag of the > cont

Re: [Ryu-devel] List of actions for REST API (OF 1.0)

2015-12-07 Thread Yusuke Iwase
Hi Sergio, On 2015年12月08日 12:11, Sergio Andrés Rivera Polanco wrote: > Hi, I am trying out Ryu's REST API following the online documentation found > at http://ryu-zhdoc.readthedocs.org/en/latest/app/ofctl_rest.html > > Even though the type of actions and match fields is properly described, I >

[Ryu-devel] Generate Packet-out with a 802.1 Q tagged payload..

2015-12-07 Thread nitish nagesh
Hello, I am trying to modify the existing example script to generate a packet out for every packet-in. My requirement is to send a packet out message to the switch with the Packet-Out payload containing a 802.1Q VLAN tag of the controller VID. In other words, irrespective of what packet was sen

[Ryu-devel] List of actions for REST API (OF 1.0)

2015-12-07 Thread Sergio Andrés Rivera Polanco
Hi, I am trying out Ryu's REST API following the online documentation found at http://ryu-zhdoc.readthedocs.org/en/latest/app/ofctl_rest.html Even though the type of actions and match fields is properly described, I didn't find the format for actions like "Send to Controller", "Flood", "Local", "I