Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-613

Error not reported when path and payload keys are inconsistent

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Helium
    • None
    • restconf
    • None
    • Operating System: Windows
      Platform: PC

    • 1330

    Description

      Adding a single service function with inconsistency between path and JSON name

      put /config/service-function:service-functions/service-function/fw-zz/

      {
      "service-function": [

      { "ip-mgmt-address": "20.0.0.11", "type": "firewall", "name": "fw-yy" }

      ]
      }

      This is the actual Service Function created

      {
      "service-functions": {
      "service-function": [

      { "ip-mgmt-address": "20.0.0.11", "name": "fw-yy", "type": "firewall" }

      }
      }
      }

      Some things to notice:
      The service function name from the path "fw-zz" was ignored. The actually created service function name was "fw-yy"
      There was no callback. OndataChanged() was never called.

      Attachments

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

        Activity

          People

            jgloncak Jozef Gloncak
            tony.tkacik@gmail.com Tony Tkacik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: