Adding TestVNF netconf server
[demo.git] / vnfs / TestVNF / netconftemplates / netconftemplates / ietf-ip@2014-06-16.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-ip"
4         xmlns="urn:ietf:params:xml:ns:yang:yin:1"
5         xmlns:ip="urn:ietf:params:xml:ns:yang:ietf-ip"
6         xmlns:if="urn:ietf:params:xml:ns:yang:ietf-interfaces"
7         xmlns:inet="urn:ietf:params:xml:ns:yang:ietf-inet-types"
8         xmlns:yang="urn:ietf:params:xml:ns:yang:ietf-yang-types"&gt;
9   &lt;yang-version value="1"/&gt;
10   &lt;namespace uri="urn:ietf:params:xml:ns:yang:ietf-ip"/&gt;
11   &lt;prefix value="ip"/&gt;
12   &lt;import module="ietf-interfaces"&gt;
13     &lt;prefix value="if"/&gt;
14   &lt;/import&gt;
15   &lt;import module="ietf-inet-types"&gt;
16     &lt;prefix value="inet"/&gt;
17   &lt;/import&gt;
18   &lt;import module="ietf-yang-types"&gt;
19     &lt;prefix value="yang"/&gt;
20   &lt;/import&gt;
21   &lt;organization&gt;
22     &lt;text&gt;IETF NETMOD (NETCONF Data Modeling Language) Working Group&lt;/text&gt;
23   &lt;/organization&gt;
24   &lt;contact&gt;
25     &lt;text&gt;WG Web:   &amp;lt;http://tools.ietf.org/wg/netmod/&amp;gt;
26 WG List:  &amp;lt;mailto:netmod@ietf.org&amp;gt;
27
28 WG Chair: Thomas Nadeau
29        &amp;lt;mailto:tnadeau@lucidvision.com&amp;gt;
30
31 WG Chair: Juergen Schoenwaelder
32        &amp;lt;mailto:j.schoenwaelder@jacobs-university.de&amp;gt;
33
34 Editor:   Martin Bjorklund
35        &amp;lt;mailto:mbj@tail-f.com&amp;gt;&lt;/text&gt;
36   &lt;/contact&gt;
37   &lt;description&gt;
38     &lt;text&gt;This module contains a collection of YANG definitions for
39 configuring IP implementations.
40
41 Copyright (c) 2014 IETF Trust and the persons identified as
42 authors of the code.  All rights reserved.
43
44 Redistribution and use in source and binary forms, with or
45 without modification, is permitted pursuant to, and subject
46 to the license terms contained in, the Simplified BSD License
47 set forth in Section 4.c of the IETF Trust's Legal Provisions
48 Relating to IETF Documents
49 (http://trustee.ietf.org/license-info).
50
51 This version of this YANG module is part of RFC 7277; see
52 the RFC itself for full legal notices.&lt;/text&gt;
53   &lt;/description&gt;
54   &lt;revision date="2014-06-16"&gt;
55     &lt;description&gt;
56       &lt;text&gt;Initial revision.&lt;/text&gt;
57     &lt;/description&gt;
58     &lt;reference&gt;
59       &lt;text&gt;RFC 7277: A YANG Data Model for IP Management&lt;/text&gt;
60     &lt;/reference&gt;
61   &lt;/revision&gt;
62   &lt;feature name="ipv4-non-contiguous-netmasks"&gt;
63     &lt;description&gt;
64       &lt;text&gt;Indicates support for configuring non-contiguous
65 subnet masks.&lt;/text&gt;
66     &lt;/description&gt;
67   &lt;/feature&gt;
68   &lt;feature name="ipv6-privacy-autoconf"&gt;
69     &lt;description&gt;
70       &lt;text&gt;Indicates support for Privacy Extensions for Stateless Address
71 Autoconfiguration in IPv6.&lt;/text&gt;
72     &lt;/description&gt;
73     &lt;reference&gt;
74       &lt;text&gt;RFC 4941: Privacy Extensions for Stateless Address
75      Autoconfiguration in IPv6&lt;/text&gt;
76     &lt;/reference&gt;
77   &lt;/feature&gt;
78   &lt;typedef name="ip-address-origin"&gt;
79     &lt;type name="enumeration"&gt;
80       &lt;enum name="other"&gt;
81         &lt;value value="0"/&gt;
82         &lt;description&gt;
83           &lt;text&gt;None of the following.&lt;/text&gt;
84         &lt;/description&gt;
85       &lt;/enum&gt;
86       &lt;enum name="static"&gt;
87         &lt;value value="1"/&gt;
88         &lt;description&gt;
89           &lt;text&gt;Indicates that the address has been statically
90 configured - for example, using NETCONF or a Command Line
91 Interface.&lt;/text&gt;
92         &lt;/description&gt;
93       &lt;/enum&gt;
94       &lt;enum name="dhcp"&gt;
95         &lt;value value="2"/&gt;
96         &lt;description&gt;
97           &lt;text&gt;Indicates an address that has been assigned to this
98 system by a DHCP server.&lt;/text&gt;
99         &lt;/description&gt;
100       &lt;/enum&gt;
101       &lt;enum name="link-layer"&gt;
102         &lt;value value="3"/&gt;
103         &lt;description&gt;
104           &lt;text&gt;Indicates an address created by IPv6 stateless
105 autoconfiguration that embeds a link-layer address in its
106 interface identifier.&lt;/text&gt;
107         &lt;/description&gt;
108       &lt;/enum&gt;
109       &lt;enum name="random"&gt;
110         &lt;value value="4"/&gt;
111         &lt;description&gt;
112           &lt;text&gt;Indicates an address chosen by the system at
113
114 random, e.g., an IPv4 address within 169.254/16, an
115 RFC 4941 temporary address, or an RFC 7217 semantically
116 opaque address.&lt;/text&gt;
117         &lt;/description&gt;
118         &lt;reference&gt;
119           &lt;text&gt;RFC 4941: Privacy Extensions for Stateless Address
120      Autoconfiguration in IPv6
121 RFC 7217: A Method for Generating Semantically Opaque
122      Interface Identifiers with IPv6 Stateless
123      Address Autoconfiguration (SLAAC)&lt;/text&gt;
124         &lt;/reference&gt;
125       &lt;/enum&gt;
126     &lt;/type&gt;
127     &lt;description&gt;
128       &lt;text&gt;The origin of an address.&lt;/text&gt;
129     &lt;/description&gt;
130   &lt;/typedef&gt;
131   &lt;typedef name="neighbor-origin"&gt;
132     &lt;type name="enumeration"&gt;
133       &lt;enum name="other"&gt;
134         &lt;value value="0"/&gt;
135         &lt;description&gt;
136           &lt;text&gt;None of the following.&lt;/text&gt;
137         &lt;/description&gt;
138       &lt;/enum&gt;
139       &lt;enum name="static"&gt;
140         &lt;value value="1"/&gt;
141         &lt;description&gt;
142           &lt;text&gt;Indicates that the mapping has been statically
143 configured - for example, using NETCONF or a Command Line
144 Interface.&lt;/text&gt;
145         &lt;/description&gt;
146       &lt;/enum&gt;
147       &lt;enum name="dynamic"&gt;
148         &lt;value value="2"/&gt;
149         &lt;description&gt;
150           &lt;text&gt;Indicates that the mapping has been dynamically resolved
151 using, e.g., IPv4 ARP or the IPv6 Neighbor Discovery
152 protocol.&lt;/text&gt;
153         &lt;/description&gt;
154       &lt;/enum&gt;
155     &lt;/type&gt;
156     &lt;description&gt;
157       &lt;text&gt;The origin of a neighbor entry.&lt;/text&gt;
158     &lt;/description&gt;
159   &lt;/typedef&gt;
160   &lt;augment target-node="/if:interfaces/if:interface"&gt;
161     &lt;description&gt;
162       &lt;text&gt;Parameters for configuring IP on interfaces.
163
164 If an interface is not capable of running IP, the server
165 must not allow the client to configure these parameters.&lt;/text&gt;
166     &lt;/description&gt;
167     &lt;container name="ipv4"&gt;
168       &lt;presence value="Enables IPv4 unless the 'enabled' leaf
169 (which defaults to 'true') is set to 'false'"/&gt;
170       &lt;description&gt;
171         &lt;text&gt;Parameters for the IPv4 address family.&lt;/text&gt;
172       &lt;/description&gt;
173       &lt;leaf name="enabled"&gt;
174         &lt;type name="boolean"/&gt;
175         &lt;default value="true"/&gt;
176         &lt;description&gt;
177           &lt;text&gt;Controls whether IPv4 is enabled or disabled on this
178 interface.  When IPv4 is enabled, this interface is
179 connected to an IPv4 stack, and the interface can send
180 and receive IPv4 packets.&lt;/text&gt;
181         &lt;/description&gt;
182       &lt;/leaf&gt;
183       &lt;leaf name="forwarding"&gt;
184         &lt;type name="boolean"/&gt;
185         &lt;default value="false"/&gt;
186         &lt;description&gt;
187           &lt;text&gt;Controls IPv4 packet forwarding of datagrams received by,
188 but not addressed to, this interface.  IPv4 routers
189 forward datagrams.  IPv4 hosts do not (except those
190 source-routed via the host).&lt;/text&gt;
191         &lt;/description&gt;
192       &lt;/leaf&gt;
193       &lt;leaf name="mtu"&gt;
194         &lt;type name="uint16"&gt;
195           &lt;range value="68..max"/&gt;
196         &lt;/type&gt;
197         &lt;units name="octets"/&gt;
198         &lt;description&gt;
199           &lt;text&gt;The size, in octets, of the largest IPv4 packet that the
200 interface will send and receive.
201
202 The server may restrict the allowed values for this leaf,
203 depending on the interface's type.
204
205 If this leaf is not configured, the operationally used MTU
206 depends on the interface's type.&lt;/text&gt;
207         &lt;/description&gt;
208         &lt;reference&gt;
209           &lt;text&gt;RFC 791: Internet Protocol&lt;/text&gt;
210         &lt;/reference&gt;
211       &lt;/leaf&gt;
212       &lt;list name="address"&gt;
213         &lt;key value="ip"/&gt;
214         &lt;description&gt;
215           &lt;text&gt;The list of configured IPv4 addresses on the interface.&lt;/text&gt;
216         &lt;/description&gt;
217         &lt;leaf name="ip"&gt;
218           &lt;type name="inet:ipv4-address-no-zone"/&gt;
219           &lt;description&gt;
220             &lt;text&gt;The IPv4 address on the interface.&lt;/text&gt;
221           &lt;/description&gt;
222         &lt;/leaf&gt;
223         &lt;choice name="subnet"&gt;
224           &lt;mandatory value="true"/&gt;
225           &lt;description&gt;
226             &lt;text&gt;The subnet can be specified as a prefix-length, or,
227 if the server supports non-contiguous netmasks, as
228 a netmask.&lt;/text&gt;
229           &lt;/description&gt;
230           &lt;leaf name="prefix-length"&gt;
231             &lt;type name="uint8"&gt;
232               &lt;range value="0..32"/&gt;
233             &lt;/type&gt;
234             &lt;description&gt;
235               &lt;text&gt;The length of the subnet prefix.&lt;/text&gt;
236             &lt;/description&gt;
237           &lt;/leaf&gt;
238           &lt;leaf name="netmask"&gt;
239             &lt;if-feature name="ipv4-non-contiguous-netmasks"/&gt;
240             &lt;type name="yang:dotted-quad"/&gt;
241             &lt;description&gt;
242               &lt;text&gt;The subnet specified as a netmask.&lt;/text&gt;
243             &lt;/description&gt;
244           &lt;/leaf&gt;
245         &lt;/choice&gt;
246       &lt;/list&gt;
247       &lt;list name="neighbor"&gt;
248         &lt;key value="ip"/&gt;
249         &lt;description&gt;
250           &lt;text&gt;A list of mappings from IPv4 addresses to
251 link-layer addresses.
252
253 Entries in this list are used as static entries in the
254 ARP Cache.&lt;/text&gt;
255         &lt;/description&gt;
256         &lt;reference&gt;
257           &lt;text&gt;RFC 826: An Ethernet Address Resolution Protocol&lt;/text&gt;
258         &lt;/reference&gt;
259         &lt;leaf name="ip"&gt;
260           &lt;type name="inet:ipv4-address-no-zone"/&gt;
261           &lt;description&gt;
262             &lt;text&gt;The IPv4 address of the neighbor node.&lt;/text&gt;
263           &lt;/description&gt;
264         &lt;/leaf&gt;
265         &lt;leaf name="link-layer-address"&gt;
266           &lt;type name="yang:phys-address"/&gt;
267           &lt;mandatory value="true"/&gt;
268           &lt;description&gt;
269             &lt;text&gt;The link-layer address of the neighbor node.&lt;/text&gt;
270           &lt;/description&gt;
271         &lt;/leaf&gt;
272       &lt;/list&gt;
273     &lt;/container&gt;
274     &lt;container name="ipv6"&gt;
275       &lt;presence value="Enables IPv6 unless the 'enabled' leaf
276 (which defaults to 'true') is set to 'false'"/&gt;
277       &lt;description&gt;
278         &lt;text&gt;Parameters for the IPv6 address family.&lt;/text&gt;
279       &lt;/description&gt;
280       &lt;leaf name="enabled"&gt;
281         &lt;type name="boolean"/&gt;
282         &lt;default value="true"/&gt;
283         &lt;description&gt;
284           &lt;text&gt;Controls whether IPv6 is enabled or disabled on this
285 interface.  When IPv6 is enabled, this interface is
286 connected to an IPv6 stack, and the interface can send
287 and receive IPv6 packets.&lt;/text&gt;
288         &lt;/description&gt;
289       &lt;/leaf&gt;
290       &lt;leaf name="forwarding"&gt;
291         &lt;type name="boolean"/&gt;
292         &lt;default value="false"/&gt;
293         &lt;description&gt;
294           &lt;text&gt;Controls IPv6 packet forwarding of datagrams received by,
295 but not addressed to, this interface.  IPv6 routers
296 forward datagrams.  IPv6 hosts do not (except those
297 source-routed via the host).&lt;/text&gt;
298         &lt;/description&gt;
299         &lt;reference&gt;
300           &lt;text&gt;RFC 4861: Neighbor Discovery for IP version 6 (IPv6)
301      Section 6.2.1, IsRouter&lt;/text&gt;
302         &lt;/reference&gt;
303       &lt;/leaf&gt;
304       &lt;leaf name="mtu"&gt;
305         &lt;type name="uint32"&gt;
306           &lt;range value="1280..max"/&gt;
307         &lt;/type&gt;
308         &lt;units name="octets"/&gt;
309         &lt;description&gt;
310           &lt;text&gt;The size, in octets, of the largest IPv6 packet that the
311 interface will send and receive.
312
313 The server may restrict the allowed values for this leaf,
314 depending on the interface's type.
315
316 If this leaf is not configured, the operationally used MTU
317 depends on the interface's type.&lt;/text&gt;
318         &lt;/description&gt;
319         &lt;reference&gt;
320           &lt;text&gt;RFC 2460: Internet Protocol, Version 6 (IPv6) Specification
321      Section 5&lt;/text&gt;
322         &lt;/reference&gt;
323       &lt;/leaf&gt;
324       &lt;list name="address"&gt;
325         &lt;key value="ip"/&gt;
326         &lt;description&gt;
327           &lt;text&gt;The list of configured IPv6 addresses on the interface.&lt;/text&gt;
328         &lt;/description&gt;
329         &lt;leaf name="ip"&gt;
330           &lt;type name="inet:ipv6-address-no-zone"/&gt;
331           &lt;description&gt;
332             &lt;text&gt;The IPv6 address on the interface.&lt;/text&gt;
333           &lt;/description&gt;
334         &lt;/leaf&gt;
335         &lt;leaf name="prefix-length"&gt;
336           &lt;type name="uint8"&gt;
337             &lt;range value="0..128"/&gt;
338           &lt;/type&gt;
339           &lt;mandatory value="true"/&gt;
340           &lt;description&gt;
341             &lt;text&gt;The length of the subnet prefix.&lt;/text&gt;
342           &lt;/description&gt;
343         &lt;/leaf&gt;
344       &lt;/list&gt;
345       &lt;list name="neighbor"&gt;
346         &lt;key value="ip"/&gt;
347         &lt;description&gt;
348           &lt;text&gt;A list of mappings from IPv6 addresses to
349 link-layer addresses.
350
351 Entries in this list are used as static entries in the
352 Neighbor Cache.&lt;/text&gt;
353         &lt;/description&gt;
354         &lt;reference&gt;
355           &lt;text&gt;RFC 4861: Neighbor Discovery for IP version 6 (IPv6)&lt;/text&gt;
356         &lt;/reference&gt;
357         &lt;leaf name="ip"&gt;
358           &lt;type name="inet:ipv6-address-no-zone"/&gt;
359           &lt;description&gt;
360             &lt;text&gt;The IPv6 address of the neighbor node.&lt;/text&gt;
361           &lt;/description&gt;
362         &lt;/leaf&gt;
363         &lt;leaf name="link-layer-address"&gt;
364           &lt;type name="yang:phys-address"/&gt;
365           &lt;mandatory value="true"/&gt;
366           &lt;description&gt;
367             &lt;text&gt;The link-layer address of the neighbor node.&lt;/text&gt;
368           &lt;/description&gt;
369         &lt;/leaf&gt;
370       &lt;/list&gt;
371       &lt;leaf name="dup-addr-detect-transmits"&gt;
372         &lt;type name="uint32"/&gt;
373         &lt;default value="1"/&gt;
374         &lt;description&gt;
375           &lt;text&gt;The number of consecutive Neighbor Solicitation messages
376 sent while performing Duplicate Address Detection on a
377 tentative address.  A value of zero indicates that
378 Duplicate Address Detection is not performed on
379 tentative addresses.  A value of one indicates a single
380 transmission with no follow-up retransmissions.&lt;/text&gt;
381         &lt;/description&gt;
382         &lt;reference&gt;
383           &lt;text&gt;RFC 4862: IPv6 Stateless Address Autoconfiguration&lt;/text&gt;
384         &lt;/reference&gt;
385       &lt;/leaf&gt;
386       &lt;container name="autoconf"&gt;
387         &lt;description&gt;
388           &lt;text&gt;Parameters to control the autoconfiguration of IPv6
389 addresses, as described in RFC 4862.&lt;/text&gt;
390         &lt;/description&gt;
391         &lt;reference&gt;
392           &lt;text&gt;RFC 4862: IPv6 Stateless Address Autoconfiguration&lt;/text&gt;
393         &lt;/reference&gt;
394         &lt;leaf name="create-global-addresses"&gt;
395           &lt;type name="boolean"/&gt;
396           &lt;default value="true"/&gt;
397           &lt;description&gt;
398             &lt;text&gt;If enabled, the host creates global addresses as
399 described in RFC 4862.&lt;/text&gt;
400           &lt;/description&gt;
401           &lt;reference&gt;
402             &lt;text&gt;RFC 4862: IPv6 Stateless Address Autoconfiguration
403    Section 5.5&lt;/text&gt;
404           &lt;/reference&gt;
405         &lt;/leaf&gt;
406         &lt;leaf name="create-temporary-addresses"&gt;
407           &lt;if-feature name="ipv6-privacy-autoconf"/&gt;
408           &lt;type name="boolean"/&gt;
409           &lt;default value="false"/&gt;
410           &lt;description&gt;
411             &lt;text&gt;If enabled, the host creates temporary addresses as
412 described in RFC 4941.&lt;/text&gt;
413           &lt;/description&gt;
414           &lt;reference&gt;
415             &lt;text&gt;RFC 4941: Privacy Extensions for Stateless Address
416    Autoconfiguration in IPv6&lt;/text&gt;
417           &lt;/reference&gt;
418         &lt;/leaf&gt;
419         &lt;leaf name="temporary-valid-lifetime"&gt;
420           &lt;if-feature name="ipv6-privacy-autoconf"/&gt;
421           &lt;type name="uint32"/&gt;
422           &lt;units name="seconds"/&gt;
423           &lt;default value="604800"/&gt;
424           &lt;description&gt;
425             &lt;text&gt;The time period during which the temporary address
426 is valid.&lt;/text&gt;
427           &lt;/description&gt;
428           &lt;reference&gt;
429             &lt;text&gt;RFC 4941: Privacy Extensions for Stateless Address
430    Autoconfiguration in IPv6
431    - TEMP_VALID_LIFETIME&lt;/text&gt;
432           &lt;/reference&gt;
433         &lt;/leaf&gt;
434         &lt;leaf name="temporary-preferred-lifetime"&gt;
435           &lt;if-feature name="ipv6-privacy-autoconf"/&gt;
436           &lt;type name="uint32"/&gt;
437           &lt;units name="seconds"/&gt;
438           &lt;default value="86400"/&gt;
439           &lt;description&gt;
440             &lt;text&gt;The time period during which the temporary address is
441 preferred.&lt;/text&gt;
442           &lt;/description&gt;
443           &lt;reference&gt;
444             &lt;text&gt;RFC 4941: Privacy Extensions for Stateless Address
445    Autoconfiguration in IPv6
446    - TEMP_PREFERRED_LIFETIME&lt;/text&gt;
447           &lt;/reference&gt;
448         &lt;/leaf&gt;
449       &lt;/container&gt;
450     &lt;/container&gt;
451   &lt;/augment&gt;
452   &lt;augment target-node="/if:interfaces-state/if:interface"&gt;
453     &lt;description&gt;
454       &lt;text&gt;Data nodes for the operational state of IP on interfaces.&lt;/text&gt;
455     &lt;/description&gt;
456     &lt;container name="ipv4"&gt;
457       &lt;presence value="Present if IPv4 is enabled on this interface"/&gt;
458       &lt;config value="false"/&gt;
459       &lt;description&gt;
460         &lt;text&gt;Interface-specific parameters for the IPv4 address family.&lt;/text&gt;
461       &lt;/description&gt;
462       &lt;leaf name="forwarding"&gt;
463         &lt;type name="boolean"/&gt;
464         &lt;description&gt;
465           &lt;text&gt;Indicates whether IPv4 packet forwarding is enabled or
466 disabled on this interface.&lt;/text&gt;
467         &lt;/description&gt;
468       &lt;/leaf&gt;
469       &lt;leaf name="mtu"&gt;
470         &lt;type name="uint16"&gt;
471           &lt;range value="68..max"/&gt;
472         &lt;/type&gt;
473         &lt;units name="octets"/&gt;
474         &lt;description&gt;
475           &lt;text&gt;The size, in octets, of the largest IPv4 packet that the
476 interface will send and receive.&lt;/text&gt;
477         &lt;/description&gt;
478         &lt;reference&gt;
479           &lt;text&gt;RFC 791: Internet Protocol&lt;/text&gt;
480         &lt;/reference&gt;
481       &lt;/leaf&gt;
482       &lt;list name="address"&gt;
483         &lt;key value="ip"/&gt;
484         &lt;description&gt;
485           &lt;text&gt;The list of IPv4 addresses on the interface.&lt;/text&gt;
486         &lt;/description&gt;
487         &lt;leaf name="ip"&gt;
488           &lt;type name="inet:ipv4-address-no-zone"/&gt;
489           &lt;description&gt;
490             &lt;text&gt;The IPv4 address on the interface.&lt;/text&gt;
491           &lt;/description&gt;
492         &lt;/leaf&gt;
493         &lt;choice name="subnet"&gt;
494           &lt;description&gt;
495             &lt;text&gt;The subnet can be specified as a prefix-length, or,
496 if the server supports non-contiguous netmasks, as
497 a netmask.&lt;/text&gt;
498           &lt;/description&gt;
499           &lt;leaf name="prefix-length"&gt;
500             &lt;type name="uint8"&gt;
501               &lt;range value="0..32"/&gt;
502             &lt;/type&gt;
503             &lt;description&gt;
504               &lt;text&gt;The length of the subnet prefix.&lt;/text&gt;
505             &lt;/description&gt;
506           &lt;/leaf&gt;
507           &lt;leaf name="netmask"&gt;
508             &lt;if-feature name="ipv4-non-contiguous-netmasks"/&gt;
509             &lt;type name="yang:dotted-quad"/&gt;
510             &lt;description&gt;
511               &lt;text&gt;The subnet specified as a netmask.&lt;/text&gt;
512             &lt;/description&gt;
513           &lt;/leaf&gt;
514         &lt;/choice&gt;
515         &lt;leaf name="origin"&gt;
516           &lt;type name="ip-address-origin"/&gt;
517           &lt;description&gt;
518             &lt;text&gt;The origin of this address.&lt;/text&gt;
519           &lt;/description&gt;
520         &lt;/leaf&gt;
521       &lt;/list&gt;
522       &lt;list name="neighbor"&gt;
523         &lt;key value="ip"/&gt;
524         &lt;description&gt;
525           &lt;text&gt;A list of mappings from IPv4 addresses to
526 link-layer addresses.
527
528 This list represents the ARP Cache.&lt;/text&gt;
529         &lt;/description&gt;
530         &lt;reference&gt;
531           &lt;text&gt;RFC 826: An Ethernet Address Resolution Protocol&lt;/text&gt;
532         &lt;/reference&gt;
533         &lt;leaf name="ip"&gt;
534           &lt;type name="inet:ipv4-address-no-zone"/&gt;
535           &lt;description&gt;
536             &lt;text&gt;The IPv4 address of the neighbor node.&lt;/text&gt;
537           &lt;/description&gt;
538         &lt;/leaf&gt;
539         &lt;leaf name="link-layer-address"&gt;
540           &lt;type name="yang:phys-address"/&gt;
541           &lt;description&gt;
542             &lt;text&gt;The link-layer address of the neighbor node.&lt;/text&gt;
543           &lt;/description&gt;
544         &lt;/leaf&gt;
545         &lt;leaf name="origin"&gt;
546           &lt;type name="neighbor-origin"/&gt;
547           &lt;description&gt;
548             &lt;text&gt;The origin of this neighbor entry.&lt;/text&gt;
549           &lt;/description&gt;
550         &lt;/leaf&gt;
551       &lt;/list&gt;
552     &lt;/container&gt;
553     &lt;container name="ipv6"&gt;
554       &lt;presence value="Present if IPv6 is enabled on this interface"/&gt;
555       &lt;config value="false"/&gt;
556       &lt;description&gt;
557         &lt;text&gt;Parameters for the IPv6 address family.&lt;/text&gt;
558       &lt;/description&gt;
559       &lt;leaf name="forwarding"&gt;
560         &lt;type name="boolean"/&gt;
561         &lt;default value="false"/&gt;
562         &lt;description&gt;
563           &lt;text&gt;Indicates whether IPv6 packet forwarding is enabled or
564 disabled on this interface.&lt;/text&gt;
565         &lt;/description&gt;
566         &lt;reference&gt;
567           &lt;text&gt;RFC 4861: Neighbor Discovery for IP version 6 (IPv6)
568      Section 6.2.1, IsRouter&lt;/text&gt;
569         &lt;/reference&gt;
570       &lt;/leaf&gt;
571       &lt;leaf name="mtu"&gt;
572         &lt;type name="uint32"&gt;
573           &lt;range value="1280..max"/&gt;
574         &lt;/type&gt;
575         &lt;units name="octets"/&gt;
576         &lt;description&gt;
577           &lt;text&gt;The size, in octets, of the largest IPv6 packet that the
578 interface will send and receive.&lt;/text&gt;
579         &lt;/description&gt;
580         &lt;reference&gt;
581           &lt;text&gt;RFC 2460: Internet Protocol, Version 6 (IPv6) Specification
582      Section 5&lt;/text&gt;
583         &lt;/reference&gt;
584       &lt;/leaf&gt;
585       &lt;list name="address"&gt;
586         &lt;key value="ip"/&gt;
587         &lt;description&gt;
588           &lt;text&gt;The list of IPv6 addresses on the interface.&lt;/text&gt;
589         &lt;/description&gt;
590         &lt;leaf name="ip"&gt;
591           &lt;type name="inet:ipv6-address-no-zone"/&gt;
592           &lt;description&gt;
593             &lt;text&gt;The IPv6 address on the interface.&lt;/text&gt;
594           &lt;/description&gt;
595         &lt;/leaf&gt;
596         &lt;leaf name="prefix-length"&gt;
597           &lt;type name="uint8"&gt;
598             &lt;range value="0..128"/&gt;
599           &lt;/type&gt;
600           &lt;mandatory value="true"/&gt;
601           &lt;description&gt;
602             &lt;text&gt;The length of the subnet prefix.&lt;/text&gt;
603           &lt;/description&gt;
604         &lt;/leaf&gt;
605         &lt;leaf name="origin"&gt;
606           &lt;type name="ip-address-origin"/&gt;
607           &lt;description&gt;
608             &lt;text&gt;The origin of this address.&lt;/text&gt;
609           &lt;/description&gt;
610         &lt;/leaf&gt;
611         &lt;leaf name="status"&gt;
612           &lt;type name="enumeration"&gt;
613             &lt;enum name="preferred"&gt;
614               &lt;value value="0"/&gt;
615               &lt;description&gt;
616                 &lt;text&gt;This is a valid address that can appear as the
617 destination or source address of a packet.&lt;/text&gt;
618               &lt;/description&gt;
619             &lt;/enum&gt;
620             &lt;enum name="deprecated"&gt;
621               &lt;value value="1"/&gt;
622               &lt;description&gt;
623                 &lt;text&gt;This is a valid but deprecated address that should
624 no longer be used as a source address in new
625 communications, but packets addressed to such an
626 address are processed as expected.&lt;/text&gt;
627               &lt;/description&gt;
628             &lt;/enum&gt;
629             &lt;enum name="invalid"&gt;
630               &lt;value value="2"/&gt;
631               &lt;description&gt;
632                 &lt;text&gt;This isn't a valid address, and it shouldn't appear
633 as the destination or source address of a packet.&lt;/text&gt;
634               &lt;/description&gt;
635             &lt;/enum&gt;
636             &lt;enum name="inaccessible"&gt;
637               &lt;value value="3"/&gt;
638               &lt;description&gt;
639                 &lt;text&gt;The address is not accessible because the interface
640 to which this address is assigned is not
641 operational.&lt;/text&gt;
642               &lt;/description&gt;
643             &lt;/enum&gt;
644             &lt;enum name="unknown"&gt;
645               &lt;value value="4"/&gt;
646               &lt;description&gt;
647                 &lt;text&gt;The status cannot be determined for some reason.&lt;/text&gt;
648               &lt;/description&gt;
649             &lt;/enum&gt;
650             &lt;enum name="tentative"&gt;
651               &lt;value value="5"/&gt;
652               &lt;description&gt;
653                 &lt;text&gt;The uniqueness of the address on the link is being
654 verified.  Addresses in this state should not be
655 used for general communication and should only be
656 used to determine the uniqueness of the address.&lt;/text&gt;
657               &lt;/description&gt;
658             &lt;/enum&gt;
659             &lt;enum name="duplicate"&gt;
660               &lt;value value="6"/&gt;
661               &lt;description&gt;
662                 &lt;text&gt;The address has been determined to be non-unique on
663 the link and so must not be used.&lt;/text&gt;
664               &lt;/description&gt;
665             &lt;/enum&gt;
666             &lt;enum name="optimistic"&gt;
667               &lt;value value="7"/&gt;
668               &lt;description&gt;
669                 &lt;text&gt;The address is available for use, subject to
670 restrictions, while its uniqueness on a link is
671 being verified.&lt;/text&gt;
672               &lt;/description&gt;
673             &lt;/enum&gt;
674           &lt;/type&gt;
675           &lt;description&gt;
676             &lt;text&gt;The status of an address.  Most of the states correspond
677 to states from the IPv6 Stateless Address
678 Autoconfiguration protocol.&lt;/text&gt;
679           &lt;/description&gt;
680           &lt;reference&gt;
681             &lt;text&gt;RFC 4293: Management Information Base for the
682    Internet Protocol (IP)
683    - IpAddressStatusTC
684 RFC 4862: IPv6 Stateless Address Autoconfiguration&lt;/text&gt;
685           &lt;/reference&gt;
686         &lt;/leaf&gt;
687       &lt;/list&gt;
688       &lt;list name="neighbor"&gt;
689         &lt;key value="ip"/&gt;
690         &lt;description&gt;
691           &lt;text&gt;A list of mappings from IPv6 addresses to
692 link-layer addresses.
693
694 This list represents the Neighbor Cache.&lt;/text&gt;
695         &lt;/description&gt;
696         &lt;reference&gt;
697           &lt;text&gt;RFC 4861: Neighbor Discovery for IP version 6 (IPv6)&lt;/text&gt;
698         &lt;/reference&gt;
699         &lt;leaf name="ip"&gt;
700           &lt;type name="inet:ipv6-address-no-zone"/&gt;
701           &lt;description&gt;
702             &lt;text&gt;The IPv6 address of the neighbor node.&lt;/text&gt;
703           &lt;/description&gt;
704         &lt;/leaf&gt;
705         &lt;leaf name="link-layer-address"&gt;
706           &lt;type name="yang:phys-address"/&gt;
707           &lt;description&gt;
708             &lt;text&gt;The link-layer address of the neighbor node.&lt;/text&gt;
709           &lt;/description&gt;
710         &lt;/leaf&gt;
711         &lt;leaf name="origin"&gt;
712           &lt;type name="neighbor-origin"/&gt;
713           &lt;description&gt;
714             &lt;text&gt;The origin of this neighbor entry.&lt;/text&gt;
715           &lt;/description&gt;
716         &lt;/leaf&gt;
717         &lt;leaf name="is-router"&gt;
718           &lt;type name="empty"/&gt;
719           &lt;description&gt;
720             &lt;text&gt;Indicates that the neighbor node acts as a router.&lt;/text&gt;
721           &lt;/description&gt;
722         &lt;/leaf&gt;
723         &lt;leaf name="state"&gt;
724           &lt;type name="enumeration"&gt;
725             &lt;enum name="incomplete"&gt;
726               &lt;value value="0"/&gt;
727               &lt;description&gt;
728                 &lt;text&gt;Address resolution is in progress, and the link-layer
729 address of the neighbor has not yet been
730 determined.&lt;/text&gt;
731               &lt;/description&gt;
732             &lt;/enum&gt;
733             &lt;enum name="reachable"&gt;
734               &lt;value value="1"/&gt;
735               &lt;description&gt;
736                 &lt;text&gt;Roughly speaking, the neighbor is known to have been
737 reachable recently (within tens of seconds ago).&lt;/text&gt;
738               &lt;/description&gt;
739             &lt;/enum&gt;
740             &lt;enum name="stale"&gt;
741               &lt;value value="2"/&gt;
742               &lt;description&gt;
743                 &lt;text&gt;The neighbor is no longer known to be reachable, but
744 until traffic is sent to the neighbor no attempt
745 should be made to verify its reachability.&lt;/text&gt;
746               &lt;/description&gt;
747             &lt;/enum&gt;
748             &lt;enum name="delay"&gt;
749               &lt;value value="3"/&gt;
750               &lt;description&gt;
751                 &lt;text&gt;The neighbor is no longer known to be reachable, and
752 traffic has recently been sent to the neighbor.
753 Rather than probe the neighbor immediately, however,
754 delay sending probes for a short while in order to
755 give upper-layer protocols a chance to provide
756 reachability confirmation.&lt;/text&gt;
757               &lt;/description&gt;
758             &lt;/enum&gt;
759             &lt;enum name="probe"&gt;
760               &lt;value value="4"/&gt;
761               &lt;description&gt;
762                 &lt;text&gt;The neighbor is no longer known to be reachable, and
763 unicast Neighbor Solicitation probes are being sent
764 to verify reachability.&lt;/text&gt;
765               &lt;/description&gt;
766             &lt;/enum&gt;
767           &lt;/type&gt;
768           &lt;description&gt;
769             &lt;text&gt;The Neighbor Unreachability Detection state of this
770 entry.&lt;/text&gt;
771           &lt;/description&gt;
772           &lt;reference&gt;
773             &lt;text&gt;RFC 4861: Neighbor Discovery for IP version 6 (IPv6)
774    Section 7.3.2&lt;/text&gt;
775           &lt;/reference&gt;
776         &lt;/leaf&gt;
777       &lt;/list&gt;
778     &lt;/container&gt;
779   &lt;/augment&gt;
780 &lt;/module&gt;
781 </data>
782 </rpc-reply>