Uploaded image for project: 'ovsdb'
  1. ovsdb
  2. OVSDB-239

'ifindex' column from Interface table on OVS

    XMLWordPrintable

Details

    • Improvement
    • Status: Resolved
    • Resolution: Done
    • unspecified
    • None
    • Plugin
    • None
    • Operating System: All
      Platform: All

    Description

      On Groupbasedpolicy, we have some demo setups involving OVS switches running Docker containers locally.
      On the switch, Interface table contains column "ifindex", its value visible with
      ovs-vsctl list Interface:

      sudo ovs-vsctl --columns _uuid,name,ifindex,ofport list Interface
      _uuid : 2314250c-8cd5-48a6-95a8-b2549103b434
      name : "vethl-h35_2"
      ifindex : 17
      ofport : 3
      ...

      But this key-value pair is not present in the Datastore:

      http://localhost:8181/restconf/operational/network-topology:network-topology/topology/ovsdb:1/

      ...
      "termination-point": [

      { "tp-id": "vethl-h35_2", "ovsdb:name": "vethl-h35_2", "ovsdb:interface-uuid": "2314250c-8cd5-48a6-95a8-b2549103b434", "ovsdb:port-uuid": "c4532a19-7357-42c5-9150-5daf50e8ba4e", "ovsdb:ofport": 3 }

      ,
      ...

      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.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            rashmi.c.pujar@gmail.com Rashmi Pujar
            kblagov@cisco.com Konstantin Blagov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: