[ovs-discuss] Specifying Openflow port numbers

Ben Pfaff blp at nicira.com
Fri Jul 19 15:12:30 UTC 2013


Yes. Use ofport_request. It's documented.
On Jul 19, 2013 8:10 AM, "Benjamin Lunsky" <benjamin.lunsky at 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.lunsky at netronome.com
>
>
> ---
>
>
>
>
>
> _______________________________________________
> discuss mailing list
> discuss at openvswitch.org
> http://openvswitch.org/mailman/listinfo/discuss
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20130719/5440fdbf/attachment.html>


More information about the discuss mailing list