Re: [ovs-dev] exporting port-to-ifindex mapping

2013-06-07 Thread Ben Pfaff
I think it should go into Interface. The field should be mutable, because its value is not known when ovs-vsctl (or another OVSDB client) adds the Interface record; instead, ovs-vswitchd fills it in later. Otherwise your plan sounds right. Other interface status columns, such as 'link_state' and

Re: [ovs-dev] exporting port-to-ifindex mapping

2013-06-07 Thread Neil Mckee
Want to make sure I get off on the right foot... should the read-only ifindex field go into "Port" or "Interface" ? It seems like ovsrec_interface is the one with the pointer to netdev. So I just need to: 1. change the schema to add ifindex as a new field (with mutable: false), 2. update the

Re: [ovs-dev] exporting port-to-ifindex mapping

2013-05-31 Thread Neil Mckee
On May 28, 2013, at 5:01 PM, Ben Pfaff wrote: > 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,

Re: [ovs-dev] exporting port-to-ifindex mapping

2013-05-28 Thread Ben Pfaff
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

[ovs-dev] exporting port-to-ifindex mapping

2013-05-28 Thread Neil Mckee
Hello All, 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 k