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

delete Lisp configuration

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • 17.01
    • None
    • HC VPP plugin
    • None

      When Lisp is enabled, a locator set is configured and a local mapping is tied to the locator set:

      PUT /restconf/config/lisp:lisp
      {"lisp":{"enable": true}}
      PUT /restconf/config/lisp:lisp/lisp-feature-data/locator-sets/locator-set/loc01
      {"locator-set":

      {"name": "loc01"}

      ,...}
      PUT /restconf/config/lisp:lisp/lisp-feature-data/eid-table
      {"eid-table": {"vni-table": [{"vrf-subtable": {"local-mappings": {"local-mapping": [

      {"locator-set": "loc01",...}

      ]}}}]}}

      And I try to remove all Lisp settings:
      DELETE /restconf/config/lisp:lisp

      The response is code 200: OK, but the log shows "VPPCallbackException: lisp_add_del_locator_set_reply failed with error code: -1", and no change is visible in operational data.

      Perhaps an ordering issue? It seems Honeycomb tries to remove the locator set before removing the mapping, which is not allowed in VPP.

      In any case, the reply should not be OK if the operation fails.

            jsrnicek_cisco Jan Srnicek
            selias Samuel Eliáš
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: