Re: [Ryu-devel] simple_switch in Openflow 1.2

2012-10-11 Thread FUJITA Tomonori
On Thu, 11 Oct 2012 21:54:28 -0300 Ramon Marques wrote: > I am trying to rewrite the simple_switch.py using openflow 1.2, but i can't > get the packet in_port. > In the parser of the OFPPacketIn class inside ofproto_v1_2_parser.py there > is no attribute in_port. > Where can I get the in_port whe

Re: [Ryu-devel] simple_switch in Openflow 1.2

2012-10-11 Thread Isaku Yamahata
You need to look into ofp_match for OFPXMT_OFB_IN_PORTS. Please refer to OF 1.2 spec for details. On Thu, Oct 11, 2012 at 09:54:28PM -0300, Ramon Marques wrote: > Hi, > > I am trying to rewrite the simple_switch.py using openflow 1.2, but i can't > get > the packet in_port. > In the parser of th

[Ryu-devel] simple_switch in Openflow 1.2

2012-10-11 Thread Ramon Marques
Hi, I am trying to rewrite the simple_switch.py using openflow 1.2, but i can't get the packet in_port. In the parser of the OFPPacketIn class inside ofproto_v1_2_parser.py there is no attribute in_port. Where can I get the in_port when using ofproto 1.2? thank you -- Ramon Marques Ramos En