[ovs-discuss] howto get port number from port name on openvswitch

selen jia selen764 at gmail.com
Thu Apr 12 05:10:15 UTC 2012


hi,
thankx for the command but ovs-ofctl again query datapath code to fetch
port number.
i want to get it on userspace only.

On Thu, Apr 12, 2012 at 10:13 AM, Justin Pettit <jpettit at nicira.com> wrote:

> If you want the OpenFlow numbers:
>
>        ovs-ofctl show <br>
>
> If you want the datapath numbers:
>
>        ovs-dpctl show <br>
>
> You probably just want the OpenFlow numbers, though.
>
> --Justin
>
>
> On Apr 11, 2012, at 9:34 PM, selen jia wrote:
>
> > hi,
> >
> > Is there some way to get port number of port name on user space ?
> >
> > for example i want to get port number of vnet0 on openvswitch 1.2.2
> using userspace functions.
> > _______________________________________________
> > 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/20120412/8866c094/attachment.html>


More information about the discuss mailing list