[ovs-discuss] Command to get port name and port id mapping

Xuemei Liu lxuemei3000 at gmail.com
Tue Jun 30 16:48:12 UTC 2015


Hi,

I want to generate forwarding rules for ovs, and need to get the port id
(0, 1, ...) at the ovs from the port name (eth0, ...).  I tried ovs-vsctl
show, ovs-dpctl show, but they don't show the port id. Could anyone tell me
the commands to implement this task?

Thanks,
Xuemei Liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20150630/f108ddfc/attachment-0002.html>


More information about the discuss mailing list