Adding TestVNF netconf server
[demo.git] / vnfs / TestVNF / netconftemplates / netconftemplates / ietf-interfaces@2014-05-08.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-interfaces"
4         xmlns="urn:ietf:params:xml:ns:yang:yin:1"
5         xmlns:if="urn:ietf:params:xml:ns:yang:ietf-interfaces"
6         xmlns:yang="urn:ietf:params:xml:ns:yang:ietf-yang-types"&gt;
7   &lt;yang-version value="1"/&gt;
8   &lt;namespace uri="urn:ietf:params:xml:ns:yang:ietf-interfaces"/&gt;
9   &lt;prefix value="if"/&gt;
10   &lt;import module="ietf-yang-types"&gt;
11     &lt;prefix value="yang"/&gt;
12   &lt;/import&gt;
13   &lt;organization&gt;
14     &lt;text&gt;IETF NETMOD (NETCONF Data Modeling Language) Working Group&lt;/text&gt;
15   &lt;/organization&gt;
16   &lt;contact&gt;
17     &lt;text&gt;WG Web:   &amp;lt;http://tools.ietf.org/wg/netmod/&amp;gt;
18 WG List:  &amp;lt;mailto:netmod@ietf.org&amp;gt;
19
20 WG Chair: Thomas Nadeau
21         &amp;lt;mailto:tnadeau@lucidvision.com&amp;gt;
22
23 WG Chair: Juergen Schoenwaelder
24         &amp;lt;mailto:j.schoenwaelder@jacobs-university.de&amp;gt;
25
26 Editor:   Martin Bjorklund
27         &amp;lt;mailto:mbj@tail-f.com&amp;gt;&lt;/text&gt;
28   &lt;/contact&gt;
29   &lt;description&gt;
30     &lt;text&gt;This module contains a collection of YANG definitions for
31 managing network interfaces.
32
33 Copyright (c) 2014 IETF Trust and the persons identified as
34 authors of the code.  All rights reserved.
35
36 Redistribution and use in source and binary forms, with or
37 without modification, is permitted pursuant to, and subject
38 to the license terms contained in, the Simplified BSD License
39 set forth in Section 4.c of the IETF Trust's Legal Provisions
40 Relating to IETF Documents
41 (http://trustee.ietf.org/license-info).
42
43 This version of this YANG module is part of RFC 7223; see
44 the RFC itself for full legal notices.&lt;/text&gt;
45   &lt;/description&gt;
46   &lt;revision date="2014-05-08"&gt;
47     &lt;description&gt;
48       &lt;text&gt;Initial revision.&lt;/text&gt;
49     &lt;/description&gt;
50     &lt;reference&gt;
51       &lt;text&gt;RFC 7223: A YANG Data Model for Interface Management&lt;/text&gt;
52     &lt;/reference&gt;
53   &lt;/revision&gt;
54   &lt;feature name="arbitrary-names"&gt;
55     &lt;description&gt;
56       &lt;text&gt;This feature indicates that the device allows user-controlled
57 interfaces to be named arbitrarily.&lt;/text&gt;
58     &lt;/description&gt;
59   &lt;/feature&gt;
60   &lt;feature name="pre-provisioning"&gt;
61     &lt;description&gt;
62       &lt;text&gt;This feature indicates that the device supports
63 pre-provisioning of interface configuration, i.e., it is
64 possible to configure an interface whose physical interface
65 hardware is not present on the device.&lt;/text&gt;
66     &lt;/description&gt;
67   &lt;/feature&gt;
68   &lt;feature name="if-mib"&gt;
69     &lt;description&gt;
70       &lt;text&gt;This feature indicates that the device implements
71 the IF-MIB.&lt;/text&gt;
72     &lt;/description&gt;
73     &lt;reference&gt;
74       &lt;text&gt;RFC 2863: The Interfaces Group MIB&lt;/text&gt;
75     &lt;/reference&gt;
76   &lt;/feature&gt;
77   &lt;identity name="interface-type"&gt;
78     &lt;description&gt;
79       &lt;text&gt;Base identity from which specific interface types are
80 derived.&lt;/text&gt;
81     &lt;/description&gt;
82   &lt;/identity&gt;
83   &lt;typedef name="interface-ref"&gt;
84     &lt;type name="leafref"&gt;
85       &lt;path value="/if:interfaces/if:interface/if:name"/&gt;
86     &lt;/type&gt;
87     &lt;description&gt;
88       &lt;text&gt;This type is used by data models that need to reference
89 configured interfaces.&lt;/text&gt;
90     &lt;/description&gt;
91   &lt;/typedef&gt;
92   &lt;typedef name="interface-state-ref"&gt;
93     &lt;type name="leafref"&gt;
94       &lt;path value="/if:interfaces-state/if:interface/if:name"/&gt;
95     &lt;/type&gt;
96     &lt;description&gt;
97       &lt;text&gt;This type is used by data models that need to reference
98 the operationally present interfaces.&lt;/text&gt;
99     &lt;/description&gt;
100   &lt;/typedef&gt;
101   &lt;container name="interfaces"&gt;
102     &lt;description&gt;
103       &lt;text&gt;Interface configuration parameters.&lt;/text&gt;
104     &lt;/description&gt;
105     &lt;list name="interface"&gt;
106       &lt;key value="name"/&gt;
107       &lt;description&gt;
108         &lt;text&gt;The list of configured interfaces on the device.
109
110 The operational state of an interface is available in the
111 /interfaces-state/interface list.  If the configuration of a
112 system-controlled interface cannot be used by the system
113 (e.g., the interface hardware present does not match the
114 interface type), then the configuration is not applied to
115 the system-controlled interface shown in the
116 /interfaces-state/interface list.  If the configuration
117 of a user-controlled interface cannot be used by the system,
118 the configured interface is not instantiated in the
119 /interfaces-state/interface list.&lt;/text&gt;
120       &lt;/description&gt;
121       &lt;leaf name="name"&gt;
122         &lt;type name="string"/&gt;
123         &lt;description&gt;
124           &lt;text&gt;The name of the interface.
125
126 A device MAY restrict the allowed values for this leaf,
127 possibly depending on the type of the interface.
128 For system-controlled interfaces, this leaf is the
129 device-specific name of the interface.  The 'config false'
130 list /interfaces-state/interface contains the currently
131 existing interfaces on the device.
132
133 If a client tries to create configuration for a
134 system-controlled interface that is not present in the
135 /interfaces-state/interface list, the server MAY reject
136 the request if the implementation does not support
137 pre-provisioning of interfaces or if the name refers to
138 an interface that can never exist in the system.  A
139 NETCONF server MUST reply with an rpc-error with the
140 error-tag 'invalid-value' in this case.
141
142 If the device supports pre-provisioning of interface
143 configuration, the 'pre-provisioning' feature is
144 advertised.
145
146 If the device allows arbitrarily named user-controlled
147 interfaces, the 'arbitrary-names' feature is advertised.
148
149 When a configured user-controlled interface is created by
150 the system, it is instantiated with the same name in the
151 /interface-state/interface list.&lt;/text&gt;
152         &lt;/description&gt;
153       &lt;/leaf&gt;
154       &lt;leaf name="description"&gt;
155         &lt;type name="string"/&gt;
156         &lt;description&gt;
157           &lt;text&gt;A textual description of the interface.
158
159 A server implementation MAY map this leaf to the ifAlias
160 MIB object.  Such an implementation needs to use some
161 mechanism to handle the differences in size and characters
162 allowed between this leaf and ifAlias.  The definition of
163 such a mechanism is outside the scope of this document.
164
165 Since ifAlias is defined to be stored in non-volatile
166 storage, the MIB implementation MUST map ifAlias to the
167 value of 'description' in the persistently stored
168 datastore.
169
170 Specifically, if the device supports ':startup', when
171 ifAlias is read the device MUST return the value of
172 'description' in the 'startup' datastore, and when it is
173 written, it MUST be written to the 'running' and 'startup'
174 datastores.  Note that it is up to the implementation to
175
176 decide whether to modify this single leaf in 'startup' or
177 perform an implicit copy-config from 'running' to
178 'startup'.
179
180 If the device does not support ':startup', ifAlias MUST
181 be mapped to the 'description' leaf in the 'running'
182 datastore.&lt;/text&gt;
183         &lt;/description&gt;
184         &lt;reference&gt;
185           &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifAlias&lt;/text&gt;
186         &lt;/reference&gt;
187       &lt;/leaf&gt;
188       &lt;leaf name="type"&gt;
189         &lt;type name="identityref"&gt;
190           &lt;base name="interface-type"/&gt;
191         &lt;/type&gt;
192         &lt;mandatory value="true"/&gt;
193         &lt;description&gt;
194           &lt;text&gt;The type of the interface.
195
196 When an interface entry is created, a server MAY
197 initialize the type leaf with a valid value, e.g., if it
198 is possible to derive the type from the name of the
199 interface.
200
201 If a client tries to set the type of an interface to a
202 value that can never be used by the system, e.g., if the
203 type is not supported or if the type does not match the
204 name of the interface, the server MUST reject the request.
205 A NETCONF server MUST reply with an rpc-error with the
206 error-tag 'invalid-value' in this case.&lt;/text&gt;
207         &lt;/description&gt;
208         &lt;reference&gt;
209           &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifType&lt;/text&gt;
210         &lt;/reference&gt;
211       &lt;/leaf&gt;
212       &lt;leaf name="enabled"&gt;
213         &lt;type name="boolean"/&gt;
214         &lt;default value="true"/&gt;
215         &lt;description&gt;
216           &lt;text&gt;This leaf contains the configured, desired state of the
217 interface.
218
219 Systems that implement the IF-MIB use the value of this
220 leaf in the 'running' datastore to set
221 IF-MIB.ifAdminStatus to 'up' or 'down' after an ifEntry
222 has been initialized, as described in RFC 2863.
223
224
225
226 Changes in this leaf in the 'running' datastore are
227 reflected in ifAdminStatus, but if ifAdminStatus is
228 changed over SNMP, this leaf is not affected.&lt;/text&gt;
229         &lt;/description&gt;
230         &lt;reference&gt;
231           &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifAdminStatus&lt;/text&gt;
232         &lt;/reference&gt;
233       &lt;/leaf&gt;
234       &lt;leaf name="link-up-down-trap-enable"&gt;
235         &lt;if-feature name="if-mib"/&gt;
236         &lt;type name="enumeration"&gt;
237           &lt;enum name="enabled"&gt;
238             &lt;value value="1"/&gt;
239           &lt;/enum&gt;
240           &lt;enum name="disabled"&gt;
241             &lt;value value="2"/&gt;
242           &lt;/enum&gt;
243         &lt;/type&gt;
244         &lt;description&gt;
245           &lt;text&gt;Controls whether linkUp/linkDown SNMP notifications
246 should be generated for this interface.
247
248 If this node is not configured, the value 'enabled' is
249 operationally used by the server for interfaces that do
250 not operate on top of any other interface (i.e., there are
251 no 'lower-layer-if' entries), and 'disabled' otherwise.&lt;/text&gt;
252         &lt;/description&gt;
253         &lt;reference&gt;
254           &lt;text&gt;RFC 2863: The Interfaces Group MIB -
255      ifLinkUpDownTrapEnable&lt;/text&gt;
256         &lt;/reference&gt;
257       &lt;/leaf&gt;
258     &lt;/list&gt;
259   &lt;/container&gt;
260   &lt;container name="interfaces-state"&gt;
261     &lt;config value="false"/&gt;
262     &lt;description&gt;
263       &lt;text&gt;Data nodes for the operational state of interfaces.&lt;/text&gt;
264     &lt;/description&gt;
265     &lt;list name="interface"&gt;
266       &lt;key value="name"/&gt;
267       &lt;description&gt;
268         &lt;text&gt;The list of interfaces on the device.
269
270 System-controlled interfaces created by the system are
271 always present in this list, whether they are configured or
272 not.&lt;/text&gt;
273       &lt;/description&gt;
274       &lt;leaf name="name"&gt;
275         &lt;type name="string"/&gt;
276         &lt;description&gt;
277           &lt;text&gt;The name of the interface.
278
279 A server implementation MAY map this leaf to the ifName
280 MIB object.  Such an implementation needs to use some
281 mechanism to handle the differences in size and characters
282 allowed between this leaf and ifName.  The definition of
283 such a mechanism is outside the scope of this document.&lt;/text&gt;
284         &lt;/description&gt;
285         &lt;reference&gt;
286           &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifName&lt;/text&gt;
287         &lt;/reference&gt;
288       &lt;/leaf&gt;
289       &lt;leaf name="type"&gt;
290         &lt;type name="identityref"&gt;
291           &lt;base name="interface-type"/&gt;
292         &lt;/type&gt;
293         &lt;mandatory value="true"/&gt;
294         &lt;description&gt;
295           &lt;text&gt;The type of the interface.&lt;/text&gt;
296         &lt;/description&gt;
297         &lt;reference&gt;
298           &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifType&lt;/text&gt;
299         &lt;/reference&gt;
300       &lt;/leaf&gt;
301       &lt;leaf name="admin-status"&gt;
302         &lt;if-feature name="if-mib"/&gt;
303         &lt;type name="enumeration"&gt;
304           &lt;enum name="up"&gt;
305             &lt;value value="1"/&gt;
306             &lt;description&gt;
307               &lt;text&gt;Ready to pass packets.&lt;/text&gt;
308             &lt;/description&gt;
309           &lt;/enum&gt;
310           &lt;enum name="down"&gt;
311             &lt;value value="2"/&gt;
312             &lt;description&gt;
313               &lt;text&gt;Not ready to pass packets and not in some test mode.&lt;/text&gt;
314             &lt;/description&gt;
315           &lt;/enum&gt;
316           &lt;enum name="testing"&gt;
317             &lt;value value="3"/&gt;
318             &lt;description&gt;
319               &lt;text&gt;In some test mode.&lt;/text&gt;
320             &lt;/description&gt;
321           &lt;/enum&gt;
322         &lt;/type&gt;
323         &lt;mandatory value="true"/&gt;
324         &lt;description&gt;
325           &lt;text&gt;The desired state of the interface.
326
327 This leaf has the same read semantics as ifAdminStatus.&lt;/text&gt;
328         &lt;/description&gt;
329         &lt;reference&gt;
330           &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifAdminStatus&lt;/text&gt;
331         &lt;/reference&gt;
332       &lt;/leaf&gt;
333       &lt;leaf name="oper-status"&gt;
334         &lt;type name="enumeration"&gt;
335           &lt;enum name="up"&gt;
336             &lt;value value="1"/&gt;
337             &lt;description&gt;
338               &lt;text&gt;Ready to pass packets.&lt;/text&gt;
339             &lt;/description&gt;
340           &lt;/enum&gt;
341           &lt;enum name="down"&gt;
342             &lt;value value="2"/&gt;
343             &lt;description&gt;
344               &lt;text&gt;The interface does not pass any packets.&lt;/text&gt;
345             &lt;/description&gt;
346           &lt;/enum&gt;
347           &lt;enum name="testing"&gt;
348             &lt;value value="3"/&gt;
349             &lt;description&gt;
350               &lt;text&gt;In some test mode.  No operational packets can
351 be passed.&lt;/text&gt;
352             &lt;/description&gt;
353           &lt;/enum&gt;
354           &lt;enum name="unknown"&gt;
355             &lt;value value="4"/&gt;
356             &lt;description&gt;
357               &lt;text&gt;Status cannot be determined for some reason.&lt;/text&gt;
358             &lt;/description&gt;
359           &lt;/enum&gt;
360           &lt;enum name="dormant"&gt;
361             &lt;value value="5"/&gt;
362             &lt;description&gt;
363               &lt;text&gt;Waiting for some external event.&lt;/text&gt;
364             &lt;/description&gt;
365           &lt;/enum&gt;
366           &lt;enum name="not-present"&gt;
367             &lt;value value="6"/&gt;
368             &lt;description&gt;
369               &lt;text&gt;Some component (typically hardware) is missing.&lt;/text&gt;
370             &lt;/description&gt;
371           &lt;/enum&gt;
372           &lt;enum name="lower-layer-down"&gt;
373             &lt;value value="7"/&gt;
374             &lt;description&gt;
375               &lt;text&gt;Down due to state of lower-layer interface(s).&lt;/text&gt;
376             &lt;/description&gt;
377           &lt;/enum&gt;
378         &lt;/type&gt;
379         &lt;mandatory value="true"/&gt;
380         &lt;description&gt;
381           &lt;text&gt;The current operational state of the interface.
382
383 This leaf has the same semantics as ifOperStatus.&lt;/text&gt;
384         &lt;/description&gt;
385         &lt;reference&gt;
386           &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifOperStatus&lt;/text&gt;
387         &lt;/reference&gt;
388       &lt;/leaf&gt;
389       &lt;leaf name="last-change"&gt;
390         &lt;type name="yang:date-and-time"/&gt;
391         &lt;description&gt;
392           &lt;text&gt;The time the interface entered its current operational
393 state.  If the current state was entered prior to the
394 last re-initialization of the local network management
395 subsystem, then this node is not present.&lt;/text&gt;
396         &lt;/description&gt;
397         &lt;reference&gt;
398           &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifLastChange&lt;/text&gt;
399         &lt;/reference&gt;
400       &lt;/leaf&gt;
401       &lt;leaf name="if-index"&gt;
402         &lt;if-feature name="if-mib"/&gt;
403         &lt;type name="int32"&gt;
404           &lt;range value="1..2147483647"/&gt;
405         &lt;/type&gt;
406         &lt;mandatory value="true"/&gt;
407         &lt;description&gt;
408           &lt;text&gt;The ifIndex value for the ifEntry represented by this
409 interface.&lt;/text&gt;
410         &lt;/description&gt;
411         &lt;reference&gt;
412           &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifIndex&lt;/text&gt;
413         &lt;/reference&gt;
414       &lt;/leaf&gt;
415       &lt;leaf name="phys-address"&gt;
416         &lt;type name="yang:phys-address"/&gt;
417         &lt;description&gt;
418           &lt;text&gt;The interface's address at its protocol sub-layer.  For
419 example, for an 802.x interface, this object normally
420 contains a Media Access Control (MAC) address.  The
421 interface's media-specific modules must define the bit
422
423
424 and byte ordering and the format of the value of this
425 object.  For interfaces that do not have such an address
426 (e.g., a serial line), this node is not present.&lt;/text&gt;
427         &lt;/description&gt;
428         &lt;reference&gt;
429           &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifPhysAddress&lt;/text&gt;
430         &lt;/reference&gt;
431       &lt;/leaf&gt;
432       &lt;leaf-list name="higher-layer-if"&gt;
433         &lt;type name="interface-state-ref"/&gt;
434         &lt;description&gt;
435           &lt;text&gt;A list of references to interfaces layered on top of this
436 interface.&lt;/text&gt;
437         &lt;/description&gt;
438         &lt;reference&gt;
439           &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifStackTable&lt;/text&gt;
440         &lt;/reference&gt;
441       &lt;/leaf-list&gt;
442       &lt;leaf-list name="lower-layer-if"&gt;
443         &lt;type name="interface-state-ref"/&gt;
444         &lt;description&gt;
445           &lt;text&gt;A list of references to interfaces layered underneath this
446 interface.&lt;/text&gt;
447         &lt;/description&gt;
448         &lt;reference&gt;
449           &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifStackTable&lt;/text&gt;
450         &lt;/reference&gt;
451       &lt;/leaf-list&gt;
452       &lt;leaf name="speed"&gt;
453         &lt;type name="yang:gauge64"/&gt;
454         &lt;units name="bits/second"/&gt;
455         &lt;description&gt;
456           &lt;text&gt;An estimate of the interface's current bandwidth in bits
457 per second.  For interfaces that do not vary in
458 bandwidth or for those where no accurate estimation can
459 be made, this node should contain the nominal bandwidth.
460 For interfaces that have no concept of bandwidth, this
461 node is not present.&lt;/text&gt;
462         &lt;/description&gt;
463         &lt;reference&gt;
464           &lt;text&gt;RFC 2863: The Interfaces Group MIB -
465      ifSpeed, ifHighSpeed&lt;/text&gt;
466         &lt;/reference&gt;
467       &lt;/leaf&gt;
468       &lt;container name="statistics"&gt;
469         &lt;description&gt;
470           &lt;text&gt;A collection of interface-related statistics objects.&lt;/text&gt;
471         &lt;/description&gt;
472         &lt;leaf name="discontinuity-time"&gt;
473           &lt;type name="yang:date-and-time"/&gt;
474           &lt;mandatory value="true"/&gt;
475           &lt;description&gt;
476             &lt;text&gt;The time on the most recent occasion at which any one or
477 more of this interface's counters suffered a
478 discontinuity.  If no such discontinuities have occurred
479 since the last re-initialization of the local management
480 subsystem, then this node contains the time the local
481 management subsystem re-initialized itself.&lt;/text&gt;
482           &lt;/description&gt;
483         &lt;/leaf&gt;
484         &lt;leaf name="in-octets"&gt;
485           &lt;type name="yang:counter64"/&gt;
486           &lt;description&gt;
487             &lt;text&gt;The total number of octets received on the interface,
488 including framing characters.
489
490 Discontinuities in the value of this counter can occur
491 at re-initialization of the management system, and at
492 other times as indicated by the value of
493 'discontinuity-time'.&lt;/text&gt;
494           &lt;/description&gt;
495           &lt;reference&gt;
496             &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifHCInOctets&lt;/text&gt;
497           &lt;/reference&gt;
498         &lt;/leaf&gt;
499         &lt;leaf name="in-unicast-pkts"&gt;
500           &lt;type name="yang:counter64"/&gt;
501           &lt;description&gt;
502             &lt;text&gt;The number of packets, delivered by this sub-layer to a
503 higher (sub-)layer, that were not addressed to a
504 multicast or broadcast address at this sub-layer.
505
506 Discontinuities in the value of this counter can occur
507 at re-initialization of the management system, and at
508 other times as indicated by the value of
509 'discontinuity-time'.&lt;/text&gt;
510           &lt;/description&gt;
511           &lt;reference&gt;
512             &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifHCInUcastPkts&lt;/text&gt;
513           &lt;/reference&gt;
514         &lt;/leaf&gt;
515         &lt;leaf name="in-broadcast-pkts"&gt;
516           &lt;type name="yang:counter64"/&gt;
517           &lt;description&gt;
518             &lt;text&gt;The number of packets, delivered by this sub-layer to a
519 higher (sub-)layer, that were addressed to a broadcast
520 address at this sub-layer.
521
522 Discontinuities in the value of this counter can occur
523 at re-initialization of the management system, and at
524 other times as indicated by the value of
525 'discontinuity-time'.&lt;/text&gt;
526           &lt;/description&gt;
527           &lt;reference&gt;
528             &lt;text&gt;RFC 2863: The Interfaces Group MIB -
529    ifHCInBroadcastPkts&lt;/text&gt;
530           &lt;/reference&gt;
531         &lt;/leaf&gt;
532         &lt;leaf name="in-multicast-pkts"&gt;
533           &lt;type name="yang:counter64"/&gt;
534           &lt;description&gt;
535             &lt;text&gt;The number of packets, delivered by this sub-layer to a
536 higher (sub-)layer, that were addressed to a multicast
537 address at this sub-layer.  For a MAC-layer protocol,
538 this includes both Group and Functional addresses.
539
540 Discontinuities in the value of this counter can occur
541 at re-initialization of the management system, and at
542 other times as indicated by the value of
543 'discontinuity-time'.&lt;/text&gt;
544           &lt;/description&gt;
545           &lt;reference&gt;
546             &lt;text&gt;RFC 2863: The Interfaces Group MIB -
547    ifHCInMulticastPkts&lt;/text&gt;
548           &lt;/reference&gt;
549         &lt;/leaf&gt;
550         &lt;leaf name="in-discards"&gt;
551           &lt;type name="yang:counter32"/&gt;
552           &lt;description&gt;
553             &lt;text&gt;The number of inbound packets that were chosen to be
554 discarded even though no errors had been detected to
555 prevent their being deliverable to a higher-layer
556 protocol.  One possible reason for discarding such a
557 packet could be to free up buffer space.
558
559 Discontinuities in the value of this counter can occur
560 at re-initialization of the management system, and at
561 other times as indicated by the value of
562 'discontinuity-time'.&lt;/text&gt;
563           &lt;/description&gt;
564           &lt;reference&gt;
565             &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifInDiscards&lt;/text&gt;
566           &lt;/reference&gt;
567         &lt;/leaf&gt;
568         &lt;leaf name="in-errors"&gt;
569           &lt;type name="yang:counter32"/&gt;
570           &lt;description&gt;
571             &lt;text&gt;For packet-oriented interfaces, the number of inbound
572 packets that contained errors preventing them from being
573 deliverable to a higher-layer protocol.  For character-
574 oriented or fixed-length interfaces, the number of
575 inbound transmission units that contained errors
576 preventing them from being deliverable to a higher-layer
577 protocol.
578
579 Discontinuities in the value of this counter can occur
580 at re-initialization of the management system, and at
581 other times as indicated by the value of
582 'discontinuity-time'.&lt;/text&gt;
583           &lt;/description&gt;
584           &lt;reference&gt;
585             &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifInErrors&lt;/text&gt;
586           &lt;/reference&gt;
587         &lt;/leaf&gt;
588         &lt;leaf name="in-unknown-protos"&gt;
589           &lt;type name="yang:counter32"/&gt;
590           &lt;description&gt;
591             &lt;text&gt;For packet-oriented interfaces, the number of packets
592 received via the interface that were discarded because
593 of an unknown or unsupported protocol.  For
594 character-oriented or fixed-length interfaces that
595 support protocol multiplexing, the number of
596 transmission units received via the interface that were
597 discarded because of an unknown or unsupported protocol.
598 For any interface that does not support protocol
599 multiplexing, this counter is not present.
600
601 Discontinuities in the value of this counter can occur
602 at re-initialization of the management system, and at
603 other times as indicated by the value of
604 'discontinuity-time'.&lt;/text&gt;
605           &lt;/description&gt;
606           &lt;reference&gt;
607             &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifInUnknownProtos&lt;/text&gt;
608           &lt;/reference&gt;
609         &lt;/leaf&gt;
610         &lt;leaf name="out-octets"&gt;
611           &lt;type name="yang:counter64"/&gt;
612           &lt;description&gt;
613             &lt;text&gt;The total number of octets transmitted out of the
614 interface, including framing characters.
615
616 Discontinuities in the value of this counter can occur
617 at re-initialization of the management system, and at
618 other times as indicated by the value of
619 'discontinuity-time'.&lt;/text&gt;
620           &lt;/description&gt;
621           &lt;reference&gt;
622             &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifHCOutOctets&lt;/text&gt;
623           &lt;/reference&gt;
624         &lt;/leaf&gt;
625         &lt;leaf name="out-unicast-pkts"&gt;
626           &lt;type name="yang:counter64"/&gt;
627           &lt;description&gt;
628             &lt;text&gt;The total number of packets that higher-level protocols
629 requested be transmitted, and that were not addressed
630 to a multicast or broadcast address at this sub-layer,
631 including those that were discarded or not sent.
632
633 Discontinuities in the value of this counter can occur
634 at re-initialization of the management system, and at
635 other times as indicated by the value of
636 'discontinuity-time'.&lt;/text&gt;
637           &lt;/description&gt;
638           &lt;reference&gt;
639             &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifHCOutUcastPkts&lt;/text&gt;
640           &lt;/reference&gt;
641         &lt;/leaf&gt;
642         &lt;leaf name="out-broadcast-pkts"&gt;
643           &lt;type name="yang:counter64"/&gt;
644           &lt;description&gt;
645             &lt;text&gt;The total number of packets that higher-level protocols
646 requested be transmitted, and that were addressed to a
647 broadcast address at this sub-layer, including those
648 that were discarded or not sent.
649
650 Discontinuities in the value of this counter can occur
651 at re-initialization of the management system, and at
652 other times as indicated by the value of
653 'discontinuity-time'.&lt;/text&gt;
654           &lt;/description&gt;
655           &lt;reference&gt;
656             &lt;text&gt;RFC 2863: The Interfaces Group MIB -
657    ifHCOutBroadcastPkts&lt;/text&gt;
658           &lt;/reference&gt;
659         &lt;/leaf&gt;
660         &lt;leaf name="out-multicast-pkts"&gt;
661           &lt;type name="yang:counter64"/&gt;
662           &lt;description&gt;
663             &lt;text&gt;The total number of packets that higher-level protocols
664 requested be transmitted, and that were addressed to a
665 multicast address at this sub-layer, including those
666 that were discarded or not sent.  For a MAC-layer
667 protocol, this includes both Group and Functional
668 addresses.
669
670 Discontinuities in the value of this counter can occur
671 at re-initialization of the management system, and at
672 other times as indicated by the value of
673 'discontinuity-time'.&lt;/text&gt;
674           &lt;/description&gt;
675           &lt;reference&gt;
676             &lt;text&gt;RFC 2863: The Interfaces Group MIB -
677    ifHCOutMulticastPkts&lt;/text&gt;
678           &lt;/reference&gt;
679         &lt;/leaf&gt;
680         &lt;leaf name="out-discards"&gt;
681           &lt;type name="yang:counter32"/&gt;
682           &lt;description&gt;
683             &lt;text&gt;The number of outbound packets that were chosen to be
684 discarded even though no errors had been detected to
685 prevent their being transmitted.  One possible reason
686 for discarding such a packet could be to free up buffer
687 space.
688
689 Discontinuities in the value of this counter can occur
690 at re-initialization of the management system, and at
691 other times as indicated by the value of
692 'discontinuity-time'.&lt;/text&gt;
693           &lt;/description&gt;
694           &lt;reference&gt;
695             &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifOutDiscards&lt;/text&gt;
696           &lt;/reference&gt;
697         &lt;/leaf&gt;
698         &lt;leaf name="out-errors"&gt;
699           &lt;type name="yang:counter32"/&gt;
700           &lt;description&gt;
701             &lt;text&gt;For packet-oriented interfaces, the number of outbound
702 packets that could not be transmitted because of errors.
703 For character-oriented or fixed-length interfaces, the
704 number of outbound transmission units that could not be
705 transmitted because of errors.
706
707
708
709
710 Discontinuities in the value of this counter can occur
711 at re-initialization of the management system, and at
712 other times as indicated by the value of
713 'discontinuity-time'.&lt;/text&gt;
714           &lt;/description&gt;
715           &lt;reference&gt;
716             &lt;text&gt;RFC 2863: The Interfaces Group MIB - ifOutErrors&lt;/text&gt;
717           &lt;/reference&gt;
718         &lt;/leaf&gt;
719       &lt;/container&gt;
720     &lt;/list&gt;
721   &lt;/container&gt;
722 &lt;/module&gt;
723 </data>
724 </rpc-reply>