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 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
> 
> Engenheiro de Computa??o
> Mestrando em Inform?tica -UFES
> 

> ------------------------------------------------------------------------------
> Don't let slow site performance ruin your business. Deploy New Relic APM
> Deploy New Relic app performance management and know exactly
> what is happening inside your Ruby, Python, PHP, Java, and .NET app
> Try New Relic at no cost today and get our sweet Data Nerd shirt too!
> http://p.sf.net/sfu/newrelic-dev2dev
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel


-- 
yamahata

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to