Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Netconf With-defaults Capability #262

Closed
pheller opened this issue Aug 25, 2021 · 2 comments
Closed

Netconf With-defaults Capability #262

pheller opened this issue Aug 25, 2021 · 2 comments

Comments

@pheller
Copy link
Contributor

pheller commented Aug 25, 2021

It is desirable to support https://datatracker.ietf.org/doc/html/rfc6243 such that elements within a configuration datastore can be identified as default or non-default without the need for schema awareness. For example:

    <config xmlns:nc2="urn:ietf:params:xml:ns:netconf:default:1.0" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
      <sys:system xmlns:sys="urn:ietf:params:xml:ns:yang:ietf-system">
        <sys:ntp>
          <sys:enabled nc2:default="true">true</sys:enabled>
        </sys:ntp>
      </sys:system>
    </config>

With this supported, subsequent features can be supported, like show configuration | display defaults, and thus show configuration could omit defaults for a more terse display.

@olofhagsand
Copy link
Member

feature implemented and merged: e39d18d

@pheller
Copy link
Contributor Author

pheller commented Sep 27, 2022

Tested NETCONF, RESTCONF, and CLI - looks good to me, thanks!

@pheller pheller closed this as completed Sep 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants