Uploaded image for project: 'genius'
  1. genius
  2. GENIUS-78

Inconsistent tunnel port information in Genius

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • None
    • Carbon
    • General
    • None
    • Operating System: All
      Platform: All

    • 8332
    • High

      When I execute this RESTconf command, I get the following:

      curl -H "Content-Type: application/json" -X GET --user admin:admin http://localhost:8181/restconf/config/odl-interface-meta:bridge-interface-info | python -m json.tool

      {
      "bridge-interface-info": {
      "bridge-entry": [
      {
      "bridge-interface-entry": [

      { "interface-name": "tun5586105979e" }

      ,

      { "interface-name": "tun50ac854dc23" }

      ,

      { "interface-name": "tune40822e4b24" }

      ,

      { "interface-name": "tunc5bbb60c5be" }

      ],
      "dpid": 203068852039248
      },
      {
      "bridge-interface-entry": [

      { "interface-name": "tunda57332e390" }

      ,

      { "interface-name": "tunf7fc5075a90" }

      ,

      { "interface-name": "tunf192712a021" }

      ,

      { "interface-name": "tune235dba66db" }

      ],
      "dpid": 259899806894535
      },
      {
      "bridge-interface-entry": [

      { "interface-name": "tun9574fb33977" }

      ,

      { "interface-name": "tun1efc669f2c5" }

      ,

      { "interface-name": "tuna6fdeb91b92" }

      ,

      { "interface-name": "tun0ee97cb99a7" }

      ],
      "dpid": 88118914860719
      }
      ]
      }
      }

      But this information does not coincide with what I actually have in the OVS bridges, as can be seen below:

      [vagrant@localhost ~]$ docker exec firewall ovs-vsctl show
      b1fbefc8-c12e-4d78-86c6-59c7db89ef97
      Manager "tcp:172.28.128.1:6640"
      is_connected: true
      Bridge br-int
      Controller "tcp:172.28.128.1:6653"
      is_connected: true
      fail_mode: secure
      Port br-int
      Interface br-int
      type: internal
      Port "tuna1b98913c5d"
      Interface "tuna1b98913c5d"
      type: vxlan
      options:

      {dst_port="4880", exts=gpe, key=flow, local_ip="172.19.0.2", "nshc1"=flow, "nshc2"=flow, "nshc3"=flow, "nshc4"=flow, nsi=flow, nsp=flow, remote_ip=flow}

      Port "tune235dba66db"
      Interface "tune235dba66db"
      type: vxlan
      options:

      {key=flow, local_ip="172.19.0.2", remote_ip="172.19.0.3"}

      Port "tunf7fc5075a90"
      Interface "tunf7fc5075a90"
      type: vxlan
      options:

      {key=flow, local_ip="172.19.0.2", remote_ip="172.19.0.4"}

      Port "tape4a67c1e-61"
      Interface "tape4a67c1e-61"
      ovs_version: "2.6.1"

      [vagrant@localhost ~]$ docker exec client1 ovs-vsctl show
      a5358b9c-7a78-40a5-b2a7-811a09c81684
      Manager "tcp:172.28.128.1:6640"
      is_connected: true
      Bridge br-int
      Controller "tcp:172.28.128.1:6653"
      is_connected: true
      fail_mode: secure
      Port "tun1efc669f2c5"
      Interface "tun1efc669f2c5"
      type: vxlan
      options:

      {key=flow, local_ip="172.19.0.3", remote_ip="172.19.0.4"}

      Port br-int
      Interface br-int
      type: internal
      Port "tap1cbc44fa-d6"
      Interface "tap1cbc44fa-d6"
      Port "tun430bea2ed4f"
      Interface "tun430bea2ed4f"
      type: vxlan
      options:

      {dst_port="4880", exts=gpe, key=flow, local_ip="172.19.0.3", "nshc1"=flow, "nshc2"=flow, "nshc3"=flow, "nshc4"=flow, nsi=flow, nsp=flow, remote_ip=flow}

      Port "tun9574fb33977"
      Interface "tun9574fb33977"
      type: vxlan
      options:

      {key=flow, local_ip="172.19.0.3", remote_ip="172.19.0.2"}

      ovs_version: "2.6.1"

      [vagrant@localhost ~]$ docker exec server1 ovs-vsctl show
      f227a7b7-f01e-47b5-a630-95964d80558b
      Manager "tcp:172.28.128.1:6640"
      is_connected: true
      Bridge br-int
      Controller "tcp:172.28.128.1:6653"
      is_connected: true
      fail_mode: secure
      Port "tunc5bbb60c5be"
      Interface "tunc5bbb60c5be"
      type: vxlan
      options:

      {key=flow, local_ip="172.19.0.4", remote_ip="172.19.0.2"}

      Port br-int
      Interface br-int
      type: internal
      Port "tap993b051f-b7"
      Interface "tap993b051f-b7"
      Port "tun55258486af0"
      Interface "tun55258486af0"
      type: vxlan
      options:

      {dst_port="4880", exts=gpe, key=flow, local_ip="172.19.0.4", "nshc1"=flow, "nshc2"=flow, "nshc3"=flow, "nshc4"=flow, nsi=flow, nsp=flow, remote_ip=flow}

      Port "tune40822e4b24"
      Interface "tune40822e4b24"
      type: vxlan
      options:

      {key=flow, local_ip="172.19.0.4", remote_ip="172.19.0.3"}

      ovs_version: "2.6.1"

      Additionally, the interfaceMgr.getTunnelPortsOnBridge(dpnId); Genius RPC gives me even different information.

            Unassigned Unassigned
            ebrjohn Brady Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: