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"><?xml version="1.0" encoding="UTF-8"?>
4 xmlns="urn:ietf:params:xml:ns:yang:yin:1"
5 xmlns:yang="urn:ietf:params:xml:ns:yang:1"
6 xmlns:md="urn:ietf:params:xml:ns:yang:ietf-yang-metadata">
7 <namespace uri="urn:ietf:params:xml:ns:yang:1"/>
8 <prefix value="yang"/>
9 <import module="ietf-yang-metadata">
10 <prefix value="md"/>
11 <revision-date date="2016-08-05"/>
14 <text>libyang</text>
17 <text>Web: &lt;https://github.com/CESNET/libyang/&gt;
18 Author: Radek Krejci &lt;rkrejci@cesnet.cz&gt;</text>
21 <text>This is a kind of fake model with no data, typedefs or anything
22 else. libyang uses this module to implement various YANG attributes
23 defined in RFC 6020.</text>
25 <revision date="2017-02-20">
27 <text>Added metadata for NETCONF's edit-config manipulation with ordered
28 lists and leaf-lists.</text>
31 <text>RFC 7950: The YANG 1.1 Data Modeling Language</text>
34 <revision date="2016-02-11">
36 <text>Initial revision</text>
39 <text>RFC 6020: YANG - A Data Modeling Language for
40 the Network Configuration Protocol (NETCONF)</text>
43 <md:annotation name="insert">
44 <type name="enumeration">
45 <enum name="first"/>
46 <enum name="last"/>
47 <enum name="before"/>
48 <enum name="after"/>
51 <text>In user ordered leaf-list, the attribute can be used to control
52 where in the leaf-list the entry is inserted. It can be used during
53 the NETCONF &lt;edit-config&gt; &quot;create&quot; operations to insert a new list or
54 leaf-list entry, or during &quot;merge&quot; or &quot;replace&quot; operations to insert
55 a new list or leaf-list entry or move an existing one.
57 If the value is &quot;before&quot; or &quot;after&quot;, the &quot;value&quot;/&quot;key&quot; attribute
58 MUST also be used to specify an existing entry in the list or leaf-list.
60 If no &quot;insert&quot; attribute is present in the &quot;create&quot; operation, it
61 defaults to &quot;last&quot;.</text>
64 <text>RFC7950 section 7.8.6. and section 7.7.9.</text>
66 </md:annotation>
67 <md:annotation name="value">
68 <type name="string"/>
70 <text>In user ordered leaf-list, the attribute must be used if the attribute
71 insert is used and specifies before/after which existing instance the
72 new instance should be inserted.</text>
75 <text>RFC7950 section 7.7.9.</text>
77 </md:annotation>
78 <md:annotation name="key">
79 <type name="string"/>
81 <text>In user ordered list, the attribute must be used if the attribute
82 insert is used and specifies before/after which existing instance the
83 new instance should be inserted.</text>
86 <text>RFC7950 section 7.8.6.</text>
88 </md:annotation>