Uploaded image for project: 'honeycomb'
  1. honeycomb
  2. HONEYCOMB-84

VxLAN GPE - Wrong operational data

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 16.09
    • None
    • None

      When configured VxLAN GPE interface, Honeycomb displays wrong operational data.

      Initial state:
      New installation of VPP and Honeycomb, versions:
      VPP: vpp v16.09-rc0~45-g16c75df built by root on BM at Thu Jun 2 11:10:47 CEST 2016
      HC: "version":

      { "name": "vpe", "build-date": "Thu Jun 2 11:10:47 CEST 2016", "build-directory": "/home/lab/vpp", "branch": "16.09-rc0~45-g16c75df" }

      Steps:
      1. Create VxLAN GPE interface:
      http://10.0.0.5:8181/restconf/config/ietf-interfaces:interfaces
      {
      "interfaces": {
      "interface": [
      {
      "name": "vxlanGpeTun",
      "description": "for testing purposes",
      "type": "v3po:vxlan-gpe-tunnel",
      "enabled": "true",
      "link-up-down-trap-enable": "enabled",
      "v3po:routing":

      { "vrf-id": "0" }

      ,
      "v3po:vxlan-gpe":

      { "local": "192.168.50.76", "remote": "192.168.50.71", "vni": "9", "next-protocol": "ethernet", "encap-vrf-id": "0", "decap-vrf-id": "0" }

      }
      ]
      }
      }

      2. Get the operational data using HC (response was shorted):

      tibor@ws:~/ws/vpp> curl -v -su admin:admin http://10.0.0.5:8181/restconf/operational/ietf-interfaces:interfaces-state?prettyPrint=true;echo

      • Trying 10.0.0.5...
      • Connected to 10.0.0.5 (10.0.0.5) port 8181 (#0)
      • Server auth using Basic with user 'admin'
        > GET /restconf/operational/ietf-interfaces:interfaces-state?prettyPrint=true HTTP/1.1
        > Host: 10.0.0.5:8181
        > Authorization: Basic YWRtaW46YWRtaW4=
        > User-Agent: curl/7.42.1
        > Accept: /
        >
        < HTTP/1.1 200 OK
        < Set-Cookie: JSESSIONID=1u71f4q9t6tjp1c0uarhabq8nj;Path=/restconf
        < Expires: Thu, 01 Jan 1970 00:00:00 GMT
        < Set-Cookie: rememberMe=deleteMe; Path=/restconf; Max-Age=0; Expires=Sun, 05-Jun-2016 07:14:13 GMT
        < Content-Type: application/yang.data+json
        < Vary: Accept-Encoding, User-Agent
        < Transfer-Encoding: chunked
        < Server: Jetty(8.1.15.v20140411)
        <
        {
        "interfaces-state":
        Unknown macro: { "interface"}
      • Connection #0 to host 10.0.0.5 left intact
        }

      3. Get the operational data using vppctl:

      lab@BM:~$ sudo vppctl show interfaces
      Name Idx State Counter Count
      GigabitEthernet0/8/0 5 down
      GigabitEthernet0/9/0 6 down
      local0 0 down
      pg/stream-0 1 down
      pg/stream-1 2 down
      pg/stream-2 3 down
      pg/stream-3 4 down
      vxlan_gpe_tunnel0 7 up

      4. Get vxlan gpe data using vppctl:

      lab@BM:~$ sudo vppctl show vxlan-gpe
      [0] local: 192.168.50.76 remote: 192.168.50.71 vxlan VNI 9 next-protocol unknown 0 fibs: (encap 0, decap 0)

      Bug:

      There are differences in values got from HC and vppctl:

      • if-index
      • oper-status
      • next-protocol
      • interface type

        1. jstack.out
          121 kB
        2. karaf.log
          211 kB
        3. vxlan-gpe-config.png
          175 kB
        4. vxlan-gpe-state.png
          163 kB

            tifrank Tibor Frank
            tifrank Tibor Frank
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: