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

Restconf fails to deserialize URL if identityref from external module is present

    XMLWordPrintable

Details

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

    • 8072

    Description

      Restconf is using global schema context to deserialize external identityrefs.

      For urls such as

      http://localhost:8181/restconf/config/network-topology:network-topology/topology/topology-netconf/node/vpp/yang-ext:mount/ietf-access-control-list:access-lists/acl/vpp-acl:vpp-macip-acl/macip

      where vpp-acl and dhcp are external modules, restconf fails with message:

      vpp-acl:vpp-macip-acl from URI can't be resolved. For key which is of type identityref it should be in format module_name:identity_name.

      Using schema context provided by mount point, fixes the issue.

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            mgradzki Marek Gradzki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: