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