Uploaded image for project: 'vpnservice'
  1. vpnservice
  2. VPNSERVICE-43

Tunnel information not displaying in operational data store and ovs-vsctl show

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Cannot Reproduce
    • unspecified
    • None
    • General
    • None
    • Operating System: All
      Platform: All

    • critical
    • 5215

    Description

      Hi,

      I have created a tunnel(GRE/VxLan). I can see created information in config data store.But, in operational data store it is not displaying. Even ovs-vsctl show is not displaying tunnel status.

      Command used to create tunnel:
      http://10.183.255.21:8181/restconf/config/itm:transport-zones/
      {
      "transport-zone": [
      {
      "zone-name": "TZA",
      "subnets": [
      {
      "prefix": "10.183.255.0/24",
      "vlan-id": 0,
      "vteps": [

      { "dpn-id": 1, "portname": "phy0", "ip-address": "10.183.255.21" }

      ,

      { "dpn-id": 2, "portname": "phy2", "ip-address": "10.183.255.22" }

      ],
      "gateway-ip": "0.0.0.0"
      }
      ],
      "tunnel-type": "odl-interface:tunnel-type-gre"
      }
      ]
      }
      ---------------------------------------------------------
      config data store output
      http://10.183.255.21:8181/restconf/config/itm-state:dpn-endpoints/
      {
      "dpn-endpoints": {
      "DPN-TEPs-info": [
      {
      "DPN-ID": 2,
      "tunnel-end-points": [

      { "portname": "phy2", "VLAN-ID": 0, "ip-address": "10.183.255.22", "interface-name": "2:phy2:0", "transport-zone": "TZA", "tunnel-type": "odl-interface:tunnel-type-gre", "gw-ip-address": "0.0.0.0", "subnet-mask": "10.183.255.0/24" }

      ]
      },
      {
      "DPN-ID": 1,
      "tunnel-end-points": [

      { "portname": "phy0", "VLAN-ID": 0, "ip-address": "10.183.255.21", "interface-name": "1:phy0:0", "transport-zone": "TZA", "tunnel-type": "odl-interface:tunnel-type-gre", "gw-ip-address": "0.0.0.0", "subnet-mask": "10.183.255.0/24" }

      ]
      }
      ]
      }
      }
      ----------------------------------------------------------------
      http://10.183.255.21:8181/restconf/operational/ietf-interfaces:interfaces-state/
      {
      "interfaces-state": {
      "interface": [

      { "name": "tapc8ff830f-7b", "if-index": 8, "admin-status": "up", "oper-status": "up", "phys-address": "C6:84:D8:C4:52:BB", "lower-layer-if": [ "openflow:1:4" ] }

      ,

      { "name": "tapcb5856f0-d4", "if-index": 9, "admin-status": "up", "oper-status": "up", "phys-address": "76:67:3C:88:09:53", "lower-layer-if": [ "openflow:2:4" ] }

      ,

      { "name": "tap23701c04-7e", "if-index": 7, "admin-status": "up", "oper-status": "up", "phys-address": "42:25:BE:4B:0C:E5", "lower-layer-if": [ "openflow:1:3" ] }

      ,

      { "name": "s1", "if-index": 1, "admin-status": "up", "oper-status": "up", "phys-address": "DE:E6:A6:09:9F:46", "lower-layer-if": [ "openflow:1:LOCAL" ] }

      ,

      { "name": "s2-eth1", "if-index": 4, "admin-status": "up", "oper-status": "up", "phys-address": "86:FE:F6:BF:79:9D", "lower-layer-if": [ "openflow:2:1" ] }

      ,

      { "name": "tap026fc8e6-83", "if-index": 10, "admin-status": "up", "oper-status": "up", "phys-address": "6A:02:62:BA:2B:75", "lower-layer-if": [ "openflow:2:3" ] }

      ,

      { "name": "s2", "if-index": 5, "admin-status": "up", "oper-status": "up", "phys-address": "A6:39:38:7A:7D:47", "lower-layer-if": [ "openflow:2:LOCAL" ] }

      ,

      { "name": "s2-eth2", "if-index": 6, "admin-status": "up", "oper-status": "up", "phys-address": "B6:06:16:DF:B9:7A", "lower-layer-if": [ "openflow:2:2" ] }

      ,

      { "name": "s1-eth2", "if-index": 3, "admin-status": "up", "oper-status": "up", "phys-address": "AE:3E:1D:EC:74:8C", "lower-layer-if": [ "openflow:1:2" ] }

      ,

      { "name": "s1-eth1", "if-index": 2, "admin-status": "up", "oper-status": "up", "phys-address": "D6:72:51:74:EF:74", "lower-layer-if": [ "openflow:1:1" ] }

      ]
      }
      }
      ---------------------------------------------
      OVS output:
      mininet@mininet-vm:~\> sudo ovs-vsctl show
      d84b79f4-ebd2-4574-b30c-d5041bf367a5
      Manager "tcp:10.183.254.21:6640"
      Bridge "s2"
      Controller "tcp:10.183.255.21:6633"
      is_connected: true
      Controller "ptcp:6634"
      fail_mode: secure
      Port "s2-eth2"
      Interface "s2-eth2"
      Port "tapcb5856f0-d4"
      Interface "tapcb5856f0-d4"
      Port "s2-eth1"
      Interface "s2-eth1"
      Port "tap026fc8e6-83"
      Interface "tap026fc8e6-83"
      Port "s2"
      Interface "s2"
      type: internal
      ovs_version: "2.4.0"

      ------------------------------------------------------

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            rajamk RajaRajan Manickam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: