1 <rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="m-1">
2 <data xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-monitoring">module ietf-netconf-with-defaults {
3 namespace "urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults";
11 "IETF NETCONF (Network Configuration Protocol) Working Group";
13 "WG Web: <http://tools.ietf.org/wg/netconf/>
15 WG List: <netconf@ietf.org>
18 <bertietf@bwijnen.net>
20 WG Chair: Mehmet Ersue
21 <mehmet.ersue@nsn.com>
24 <andy.bierman@brocade.com>
26 Editor: Balazs Lengyel
27 <balazs.lengyel@ericsson.com>";
29 "This module defines an extension to the NETCONF protocol
30 that allows the NETCONF client to control how default
31 values are handled by the server in particular NETCONF
34 Copyright (c) 2011 IETF Trust and the persons identified as
35 the document authors. All rights reserved.
37 Redistribution and use in source and binary forms, with or
38 without modification, is permitted pursuant to, and subject
39 to the license terms contained in, the Simplified BSD License
40 set forth in Section 4.c of the IETF Trust's Legal Provisions
41 Relating to IETF Documents
42 (http://trustee.ietf.org/license-info).
44 This version of this YANG module is part of RFC 6243; see
45 the RFC itself for full legal notices.";
51 "RFC 6243: With-defaults Capability for NETCONF";
54 typedef with-defaults-mode {
58 "All default data is reported.";
60 "RFC 6243; Section 3.1";
62 enum "report-all-tagged" {
64 "All default data is reported.
65 Any nodes considered to be default data
66 will contain a 'default' XML attribute,
67 set to 'true' or '1'.";
69 "RFC 6243; Section 3.4";
73 "Values are not reported if they contain the default.";
75 "RFC 6243; Section 3.2";
79 "Report values that contain the definition of
80 explicitly set data.";
82 "RFC 6243; Section 3.3";
86 "Possible modes to report default data.";
88 "RFC 6243; Section 3.";
91 grouping with-defaults-parameters {
93 "Contains the <with-defaults> parameter for control
94 of defaults in NETCONF retrieval operations.";
96 type with-defaults-mode;
98 "The explicit defaults processing mode requested.";
100 "RFC 6243; Section 4.5.1";
104 augment "/nc:get-config/nc:input" {
106 "Adds the <with-defaults> parameter to the
107 input of the NETCONF <get-config> operation.";
109 "RFC 6243; Section 4.5.1";
110 uses with-defaults-parameters;
113 augment "/nc:get/nc:input" {
115 "Adds the <with-defaults> parameter to
116 the input of the NETCONF <get> operation.";
118 "RFC 6243; Section 4.5.1";
119 uses with-defaults-parameters;
122 augment "/nc:copy-config/nc:input" {
124 "Adds the <with-defaults> parameter to
125 the input of the NETCONF <copy-config> operation.";
127 "RFC 6243; Section 4.5.1";
128 uses with-defaults-parameters;