Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-303

Wrong error message for not-existing module behind mount point

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • None
    • None
    • restconf-nb
    • None
    • Operating System: All
      Platform: All

    • 6996

    Description

      GET http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/device1/yang-ext:mount/not-existing-module:container-a

      Response:
      {
      "errors": {
      "error": [

      { "error-type": "protocol", "error-tag": "unknown-element", "error-message": "\"yang-ext\" module does not exist in mount point." }

      ]
      }
      }

      but better is:
      "error-message": "The module named 'not-existing-module' does not exist in mount point."

      [ControllerContext:567, 592]

      Attachments

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

        Activity

          People

            andrej.mak@pantheon.tech Andrej Mak
            ivan.hrasko@pantheon.tech Ivan Hrasko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: