blob: 96521a74d2a564a4e977dd32f44df2de547ee58d [file] [log] [blame]
Michal Vasko086311b2016-01-08 09:53:11 +01001<?xml version="1.0" encoding="UTF-8"?>
2<module name="ietf-netconf-with-defaults"
3 xmlns="urn:ietf:params:xml:ns:yang:yin:1"
4 xmlns:ncwd="urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults"
5 xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0">
6 <namespace uri="urn:ietf:params:xml:ns:yang:ietf-netconf-with-defaults"/>
7 <prefix value="ncwd"/>
8 <import module="ietf-netconf">
9 <prefix value="nc"/>
10 </import>
11 <organization>
12 <text>IETF NETCONF (Network Configuration Protocol) Working Group</text>
13 </organization>
14 <contact>
15 <text>WG Web: &lt;http://tools.ietf.org/wg/netconf/&gt;
16
17WG List: &lt;netconf@ietf.org&gt;
18
19WG Chair: Bert Wijnen
20 &lt;bertietf@bwijnen.net&gt;
21
22WG Chair: Mehmet Ersue
23 &lt;mehmet.ersue@nsn.com&gt;
24
25Editor: Andy Bierman
26 &lt;andy.bierman@brocade.com&gt;
27
28Editor: Balazs Lengyel
29 &lt;balazs.lengyel@ericsson.com&gt;</text>
30 </contact>
31 <description>
32 <text>This module defines an extension to the NETCONF protocol
33that allows the NETCONF client to control how default
34values are handled by the server in particular NETCONF
35operations.
36
37Copyright (c) 2011 IETF Trust and the persons identified as
38the document authors. All rights reserved.
39
40Redistribution and use in source and binary forms, with or
41without modification, is permitted pursuant to, and subject
42to the license terms contained in, the Simplified BSD License
43set forth in Section 4.c of the IETF Trust's Legal Provisions
44Relating to IETF Documents
45(http://trustee.ietf.org/license-info).
46
47This version of this YANG module is part of RFC 6243; see
48the RFC itself for full legal notices.</text>
49 </description>
50 <revision date="2011-06-01">
51 <description>
52 <text>Initial version.</text>
53 </description>
54 <reference>
55 <text>RFC 6243: With-defaults Capability for NETCONF</text>
56 </reference>
57 </revision>
58 <typedef name="with-defaults-mode">
59 <description>
60 <text>Possible modes to report default data.</text>
61 </description>
62 <reference>
63 <text>RFC 6243; Section 3.</text>
64 </reference>
65 <type name="enumeration">
66 <enum name="report-all">
67 <description>
68 <text>All default data is reported.</text>
69 </description>
70 <reference>
71 <text>RFC 6243; Section 3.1</text>
72 </reference>
73 </enum>
74 <enum name="report-all-tagged">
75 <description>
76 <text>All default data is reported.
77Any nodes considered to be default data
78will contain a 'default' XML attribute,
79set to 'true' or '1'.</text>
80 </description>
81 <reference>
82 <text>RFC 6243; Section 3.4</text>
83 </reference>
84 </enum>
85 <enum name="trim">
86 <description>
87 <text>Values are not reported if they contain the default.</text>
88 </description>
89 <reference>
90 <text>RFC 6243; Section 3.2</text>
91 </reference>
92 </enum>
93 <enum name="explicit">
94 <description>
95 <text>Report values that contain the definition of
96explicitly set data.</text>
97 </description>
98 <reference>
99 <text>RFC 6243; Section 3.3</text>
100 </reference>
101 </enum>
102 </type>
103 </typedef>
104 <grouping name="with-defaults-parameters">
105 <description>
106 <text>Contains the &lt;with-defaults&gt; parameter for control
107of defaults in NETCONF retrieval operations.</text>
108 </description>
109 <leaf name="with-defaults">
110 <description>
111 <text>The explicit defaults processing mode requested.</text>
112 </description>
113 <reference>
114 <text>RFC 6243; Section 4.5.1</text>
115 </reference>
116 <type name="with-defaults-mode"/>
117 </leaf>
118 </grouping>
119 <augment target-node="/nc:get-config/nc:input">
120 <description>
121 <text>Adds the &lt;with-defaults&gt; parameter to the
122input of the NETCONF &lt;get-config&gt; operation.</text>
123 </description>
124 <reference>
125 <text>RFC 6243; Section 4.5.1</text>
126 </reference>
127 <uses name="with-defaults-parameters"/>
128 </augment>
129 <augment target-node="/nc:get/nc:input">
130 <description>
131 <text>Adds the &lt;with-defaults&gt; parameter to
132the input of the NETCONF &lt;get&gt; operation.</text>
133 </description>
134 <reference>
135 <text>RFC 6243; Section 4.5.1</text>
136 </reference>
137 <uses name="with-defaults-parameters"/>
138 </augment>
139 <augment target-node="/nc:copy-config/nc:input">
140 <description>
141 <text>Adds the &lt;with-defaults&gt; parameter to
142the input of the NETCONF &lt;copy-config&gt; operation.</text>
143 </description>
144 <reference>
145 <text>RFC 6243; Section 4.5.1</text>
146 </reference>
147 <uses name="with-defaults-parameters"/>
148 </augment>
149</module>