Yes. Use ofport_request. It's documented.
On Jul 19, 2013 8:10 AM, "Benjamin Lunsky" <benjamin.lun...@netronome.com>
wrote:

> Hi there,
>
> I would like to find out if it's possible to specify the OpenFlow Port
> number for a port being added to a bridge (datapath_type=netdev).
> I am needing to pass the OF port number onto my hardware which I'm
> implementing under port_get_stats function in ofproto_dpif.c, so that I can
> fetch the stats for a specific port.
> I can't find how to specify the ofp_port when setting up the switch - is
> this possible without modifying the code?
>
> Thanks
>
> Benjamin
>
>
>
> Benjamin Lunsky
> benjamin.lun...@netronome.com
>
>
> ---
>
>
>
>
>
> _______________________________________________
> discuss mailing list
> discuss@openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
>
_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to