Michal Vasko | 086311b | 2016-01-08 09:53:11 +0100 | [diff] [blame] | 1 | <?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: <http://tools.ietf.org/wg/netconf/> |
| 16 | |
| 17 | WG List: <netconf@ietf.org> |
| 18 | |
| 19 | WG Chair: Bert Wijnen |
| 20 | <bertietf@bwijnen.net> |
| 21 | |
| 22 | WG Chair: Mehmet Ersue |
| 23 | <mehmet.ersue@nsn.com> |
| 24 | |
| 25 | Editor: Andy Bierman |
| 26 | <andy.bierman@brocade.com> |
| 27 | |
| 28 | Editor: Balazs Lengyel |
| 29 | <balazs.lengyel@ericsson.com></text> |
| 30 | </contact> |
| 31 | <description> |
| 32 | <text>This module defines an extension to the NETCONF protocol |
| 33 | that allows the NETCONF client to control how default |
| 34 | values are handled by the server in particular NETCONF |
| 35 | operations. |
| 36 | |
| 37 | Copyright (c) 2011 IETF Trust and the persons identified as |
| 38 | the document authors. All rights reserved. |
| 39 | |
| 40 | Redistribution and use in source and binary forms, with or |
| 41 | without modification, is permitted pursuant to, and subject |
| 42 | to the license terms contained in, the Simplified BSD License |
| 43 | set forth in Section 4.c of the IETF Trust's Legal Provisions |
| 44 | Relating to IETF Documents |
| 45 | (http://trustee.ietf.org/license-info). |
| 46 | |
| 47 | This version of this YANG module is part of RFC 6243; see |
| 48 | the 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. |
| 77 | Any nodes considered to be default data |
| 78 | will contain a 'default' XML attribute, |
| 79 | set 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 |
| 96 | explicitly 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 <with-defaults> parameter for control |
| 107 | of 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 <with-defaults> parameter to the |
| 122 | input of the NETCONF <get-config> 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 <with-defaults> parameter to |
| 132 | the input of the NETCONF <get> 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 <with-defaults> parameter to |
| 142 | the input of the NETCONF <copy-config> 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> |