[OVSDB-239] 'ifindex' column from Interface table on OVS Created: 16/Dec/15 Updated: 30/Jun/16 Resolved: 30/Jun/16 |
|
| Status: | Resolved |
| Project: | ovsdb |
| Component/s: | Plugin |
| Affects Version/s: | unspecified |
| Fix Version/s: | None |
| Type: | Improvement | ||
| Reporter: | Konstantin Blagov | Assignee: | Rashmi Pujar |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Description |
|
On Groupbasedpolicy, we have some demo setups involving OVS switches running Docker containers locally. sudo ovs-vsctl --columns _uuid,name,ifindex,ofport list Interface But this key-value pair is not present in the Datastore: http://localhost:8181/restconf/operational/network-topology:network-topology/topology/ovsdb:1/ ... , I think it was not requested by anyone before, but now we are collecting flow statistics with sFlow, which uses ifIndex for our endpoins, so having this in the DS along with other data will help us to map "ifindex" to "ofport" and not to invent workarounds. |
| Comments |
| Comment by Rashmi Pujar [ 10/Jun/16 ] |
|
Hi Konstantin, I am working on supporting this column in ovsdb. Do you if it is a read-only column. When I add a brdige using: ovs-vsctl add-br br1. The internal port gets assigned an ifIndex value. Anil: is there a way to know if a column is read-only? |
| Comment by Anil Vishnoi [ 10/Jun/16 ] |
|
Hi Rashmi, Yes, this column looks like read only (generated by OS). I tried to edit the value using ovs-vsctl, but i was not able to change the value. |
| Comment by Konstantin Blagov [ 20/Jun/16 ] |
|
(In reply to Rashmi Pujar from comment #1) Hi Rashmi, |
| Comment by Rashmi Pujar [ 20/Jun/16 ] |
|
Thank you Anil for confirming. Hi Konstantin, thanks for your reply. The support is underway and will soon be available. |
| Comment by Rashmi Pujar [ 30/Jun/16 ] |
|
Addressed in patches: |