[ovs-dev] exporting port-to-ifindex mapping
Ben Pfaff
blp at nicira.com
Wed May 29 00:01:05 UTC 2013
On Tue, May 28, 2013 at 12:17:39PM -0700, Neil Mckee wrote:
> It would be helpful if ovs-vsctl(1) had a way to write out the
> netdev ifIndex numbers, where applicable, of the bridge ports. This
> would help to harmonize integration with SNMP, sFlow, LLDP and more.
>
> Could it be an extra column in the output from "ovs-vsctl list Port"
> ? Or a key-value pair in the "External-IDs" column?
It would be easy enough to add it to the "status" column,
e.g. status:ifindex. It might even be reasonable to add a standalone
"ifindex" column, since ifindex is a pretty universal concept. I
think I lean that way.
Are you willing and able to propose a patch?
More information about the dev
mailing list