Hello

Please don't drop the mailing list.

For OpenFlow 1.0

in_port = event.msg.in_port

For OpenFlow version ≥ 1.2

in_port = event.msg.match['in_port']


2015-09-22 11:11 GMT+08:00 Anees Mohsin Hadi Al-Najjar <
[email protected]>:

> The event that causes Packet_In. The pox command *event.port *gives the
> switch port’s number that causes the Packet_In event, such as ARP Request
> sends from the switch to the controller.
>
>
>
> *From:* Yi Tseng [mailto:[email protected]]
> *Sent:* Tuesday, 22 September 2015 12:32 PM
> *To:* Anees Mohsin Hadi Al-Najjar <[email protected]>
> *Cc:* [email protected]
> *Subject:* Re: [Ryu-devel] Event port number
>
>
>
> Hello,
>
> Which event you mean?, There are a lots of event in ryu framework.
>
>
>
>
>
> 2015-09-22 7:04 GMT+08:00 Anees Mohsin Hadi Al-Najjar <
> [email protected]>:
>
> Dear all,
>
>
>
> Kindly, how can I know the event port number in Ryu?
>
> I know that in *POX* by using   *Print event.port, *but there is nothing
> like that in Ryu.
>
> Does anybody know that?
>
>
>
> Thanks
>
> Anees
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
>
>
>
> --
>
> Yi Tseng (a.k.a Takeshi)
> Taiwan National Chiao Tung University
> Department of Computer Science
>
> W2CNLab
>
> http://blog.takeshi.tw
>



-- 
Yi Tseng (a.k.a Takeshi)
Taiwan National Chiao Tung University
Department of Computer Science
W2CNLab

http://blog.takeshi.tw
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to