Hi,
In RYU, I used OFPSetAsync message to mask packet_in caused by ACTION as
mentioned in RYU doc. This is the code:
def send_set_async(self, datapath):
ofp = datapath.ofproto
ofp_parser = datapath.ofproto_parser
packet_in_mask = ofp.OFPR_ACTION
port_status_mask = (ofp.OFPPR_ADD | ofp.OFPPR_DELETE |
ofp.OFPPR_MODIFY)
flow_removed_mask = (ofp.OFPRR_IDLE_TIMEOUT |
ofp.OFPRR_HARD_TIMEOUT |
ofp.OFPRR_DELETE)
req = ofp_parser.OFPSetAsync(datapath,
[packet_in_mask, 0],
[port_status_mask, 1],
[flow_removed_mask, 1])
datapath.send_msg(req)
Is this action irreversible? I mean; I want to see the packet_in caused by
ACTION again in my controller. How can I do this?
Thank you,
...................................................
mehran shetabi
PhD student
Computer Engineering Department
IUST
-----Original Message-----
From: Shinpei Muraoka <shinpei.mura...@gmail.com>
To: mshet...@iust.ac.ir, ryu-devel@lists.sourceforge.net
Date: Mon, 23 May 2016 11:19:19 +0900
Subject: Re: [Ryu-devel] OFPR_ACTION bitmask of the “Set asynchronous
configuration message”
Hi,
> Which action it means? How can I use it for filtering packet_in messages
> to my ryu controller?
Please refer to the 7.4.1 Packet-In Message in OpenFlow Switch
Specification(Version 1.5.0).
I hope that all of this information will be helpful for you.
Thanks,
On 2016年05月21日 05:47, mehran shetabi wrote:
> Hi,
> In RYU doc, there is OFPR_ACTION bitmask in the section “Set
> asynchronous configuration message” as you can see at the link
>
http://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPSetAsync
[http://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPSetAsync]
>
> Which action it means? How can I use it for filtering packet_in messages
> to my ryu controller?
> Thank you,
> ...................................................
> mehran shetabi
> PhD student
> Computer Engineering Department
> IUST
>
>
>
------------------------------------------------------------------------------
> Mobile security can be enabling, not merely restricting. Employees who
> bring their own devices (BYOD) to work are irked by the imposition of MDM
> restrictions. Mobile Device Manager Plus allows you to control only the
> apps on BYO-devices by containerizing them, leaving personal data
untouched!
> https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
[https://ad.doubleclick.net/ddm/clk/304595813;131938128;j]
>
>
>
> _______________________________________________
> Ryu-devel mailing list
> Ryu-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
[https://lists.sourceforge.net/lists/listinfo/ryu-devel]
>
------------------------------------------------------------------------------
Mobile security can be enabling, not merely restricting. Employees who
bring their own devices (BYOD) to work are irked by the imposition of MDM
restrictions. Mobile Device Manager Plus allows you to control only the
apps on BYO-devices by containerizing them, leaving personal data untouched!
https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel