Hi,

On 2016年05月25日 02:39, Maurizio Marrocco wrote:
> Hi to everyone,
>
> I need an help for my thesis,
>
> I want to identify a control packet from Python RYU-controller. In other 
> words: How I can to do the following instruction?
>
> |If(I receive a OFPT_PACKET_OUT msg fromryu-controller)dosomething 
> (forexample all control traffic from controller must mirroring to an output 
> port)|
>
> and How can I match this rule?
>
> I saw in OpenFlow v1.3 specification that there is a ofproto.OFPP_CONTROLLER 
> reserved port: How can I use it as an ingress port?
>
>  >From OFv1.3 spec.: "OFPP_CONTROLLER: Represents the control channel with 
> the OpenFlow controller. Can be used as an ingress port or as an output port.
>
> When used as an output port, encapsulate the packet in a packet-in message 
> and send it using the OpenFlow protocol.
>
> When used as an ingress port, identify a packet originating from the 
> controller."

How about setting "in_port=ofp.OFPP_CONTROLLER" in OFPPacketOut message?
   
http://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPPacketOut

Thanks,
Iwase

>
> Thanks for the help.
>
>
>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to