Hi,

On 2016年03月05日 15:41, Anees Mohsin Hadi Al-Najjar wrote:
> *Dear All,*
> 
> * *
> 
> *Is it possible to send an id for  a packet as a packet_in msg to RYU 
> controller. Actually, I don’t need to send the whole packet with its payload. 
> I am looking for a facility in openflow to send an id represents that packet 
> in the openflow switch to the controller.*

Of course, Ryu can.

To send Packet-In messages to Ryu with only packet header data,
please specify "max_len" in output action with the packet header length.
  
http://ryu.readthedocs.org/en/latest/ofproto_v1_3_ref.html#ryu.ofproto.ofproto_v1_3_parser.OFPActionOutput

e.g.)
OFPActionOutput(port=ofproto.OFPP_CONTROLLER, max_len=68)

For the packet header length, Wireshark project recommends 68 bytes for IPv4 
packets and 96 bytes for IPv6 packets.
  https://wiki.wireshark.org/SnapLen

Thanks,
Iwase

> 
> * *
> 
> *OR*
> 
> * *
> 
> *Could I send just the packet header to the controller?*
> 
> * *
> 
> *Thanks for help*
> 
> * *
> 
>  
> 
> Anees AL-Najjar
> 
> RHD Student
> 
> School of Information Technology and Electrical Engineering (ITEE)
> 
> Office: 331, Building (78)
> 
> University of Queensland
> 
> Brisbane, QLD
> 
> Australia
> 
>  
> 
> Emails: 1- [email protected] <mailto:[email protected]>
> 
>                [email protected] <mailto:[email protected]>
> 
> Mobile: +61420407168
> 
>  
> 
> 
> 
> ------------------------------------------------------------------------------
> 
> 
> 
> _______________________________________________
> 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://makebettercode.com/inteldaal-eval
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to