RFC6243 netconf With-defaults Study notes

Source: Internet
Author: User
Tags xml attribute netconf

RFC6243RFC Location: https://tools.ietf.org/html/rfc6243 By default, the NETCONF protocol specifies that server will not give data node response with a default value to the client side, However, in some cases, such as operator needs to do some configuration checks, verify that the default value on the device side is consistent with the document, and so on, you need to get the default value on the client side, which defines some behaviors and recommendations for handling default value on the server side. Some of these terms are used:
    1. Schema default value: Default value defined in the model
    2. Default Data:server property or data with default value
    3. Default value: Refers specifically to server-side defined defaults
The protocol defines four modes for getting default value, described below:
Mode name Whether you can have a property with default value Whether you can get properties that are not default value whether Gets the property with schema default value description
all-report Yes Yes N A All-report can be understood as there is no so-called default value exists,
all-report-tagged Yes is NA If the property is default value, an XML attribute named default is added to the data model and is set to True
&nb Sp;trim No yes NA only data that is not schema default value is reported
Exp Licit no no Yes only escalate data for schema default value set through client side if the property is set by the server side Sche Ma default value, the property cannot be escalated
The protocol defines its own capability and can carry attributes urn:ietf:params:netconf:capability:with-defaults:1.0?basic-mode= Explicit indicates that only the explicit mode is supported, and the processing behavior of default value is interpreted urn:ietf:params:netconf:capability as explicit if it is not displayed: With-defaults:1.0?basic-mode=explicit&also-supported=report-all,report-all-tagged indicated support for Explicit,report-all, report-all-tagged mode, the default mode is performed in explicit manner.

RFC6243 netconf With-defaults Study notes

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.