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

RESTCONF mis-represents the root namespace

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed
    • Highest
    • Resolution: Unresolved
    • None
    • 7.0.0
    • restconf-nb

    Description

      When we emit the datastore root, we assert that the XML encoding is the following

      <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"></data>
      

      This is incorrect, as RFC8040 specifies the namespace of data to be ietf-restconf:

            <restconf xmlns="urn:ietf:params:xml:ns:yang:ietf-restconf">
              <data/>
              <operations/>
              <yang-library-version>2016-06-21</yang-library-version>
            </restconf>
      

      This is a breaking change, hence should be done in the next major version. Note this affects only the datastore root, not mount points, as those should follow their own encapsulation.

      Attachments

        Issue Links

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

          Activity

            People

              Unassigned Unassigned
              rovarga Robert Varga
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: