|
Packit |
8fb591 |
module ietf-interfaces {
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
namespace "urn:ietf:params:xml:ns:yang:ietf-interfaces";
|
|
Packit |
8fb591 |
prefix if;
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
import ietf-yang-types {
|
|
Packit |
8fb591 |
prefix yang;
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
organization
|
|
Packit |
8fb591 |
"IETF NETMOD (NETCONF Data Modeling Language) Working Group";
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
contact
|
|
Packit |
8fb591 |
"WG Web: <http://tools.ietf.org/wg/netmod/>
|
|
Packit |
8fb591 |
WG List: <mailto:netmod@ietf.org>
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
WG Chair: Thomas Nadeau
|
|
Packit |
8fb591 |
<mailto:tnadeau@lucidvision.com>
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
WG Chair: Juergen Schoenwaelder
|
|
Packit |
8fb591 |
<mailto:j.schoenwaelder@jacobs-university.de>
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Editor: Martin Bjorklund
|
|
Packit |
8fb591 |
<mailto:mbj@tail-f.com>";
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"This module contains a collection of YANG definitions for
|
|
Packit |
8fb591 |
managing network interfaces.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Copyright (c) 2014 IETF Trust and the persons identified as
|
|
Packit |
8fb591 |
authors of the code. All rights reserved.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Redistribution and use in source and binary forms, with or
|
|
Packit |
8fb591 |
without modification, is permitted pursuant to, and subject
|
|
Packit |
8fb591 |
to the license terms contained in, the Simplified BSD License
|
|
Packit |
8fb591 |
set forth in Section 4.c of the IETF Trust's Legal Provisions
|
|
Packit |
8fb591 |
Relating to IETF Documents
|
|
Packit |
8fb591 |
(http://trustee.ietf.org/license-info).
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
This version of this YANG module is part of RFC 7223; see
|
|
Packit |
8fb591 |
the RFC itself for full legal notices.";
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
revision 2014-05-08 {
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"Initial revision.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 7223: A YANG Data Model for Interface Management";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
/*
|
|
Packit |
8fb591 |
* Typedefs
|
|
Packit |
8fb591 |
*/
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
typedef interface-ref {
|
|
Packit |
8fb591 |
type leafref {
|
|
Packit |
8fb591 |
path "/if:interfaces/if:interface/if:name";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"This type is used by data models that need to reference
|
|
Packit |
8fb591 |
configured interfaces.";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
typedef interface-state-ref {
|
|
Packit |
8fb591 |
type leafref {
|
|
Packit |
8fb591 |
path "/if:interfaces-state/if:interface/if:name";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"This type is used by data models that need to reference
|
|
Packit |
8fb591 |
the operationally present interfaces.";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
/*
|
|
Packit |
8fb591 |
* Identities
|
|
Packit |
8fb591 |
*/
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
identity interface-type {
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"Base identity from which specific interface types are
|
|
Packit |
8fb591 |
derived.";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
/*
|
|
Packit |
8fb591 |
* Features
|
|
Packit |
8fb591 |
*/
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
feature arbitrary-names {
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"This feature indicates that the device allows user-controlled
|
|
Packit |
8fb591 |
interfaces to be named arbitrarily.";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
feature pre-provisioning {
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"This feature indicates that the device supports
|
|
Packit |
8fb591 |
pre-provisioning of interface configuration, i.e., it is
|
|
Packit |
8fb591 |
possible to configure an interface whose physical interface
|
|
Packit |
8fb591 |
hardware is not present on the device.";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
feature if-mib {
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"This feature indicates that the device implements
|
|
Packit |
8fb591 |
the IF-MIB.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
/*
|
|
Packit |
8fb591 |
* Configuration data nodes
|
|
Packit |
8fb591 |
*/
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
container interfaces {
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"Interface configuration parameters.";
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
list interface {
|
|
Packit |
8fb591 |
key "name";
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The list of configured interfaces on the device.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
The operational state of an interface is available in the
|
|
Packit |
8fb591 |
/interfaces-state/interface list. If the configuration of a
|
|
Packit |
8fb591 |
system-controlled interface cannot be used by the system
|
|
Packit |
8fb591 |
(e.g., the interface hardware present does not match the
|
|
Packit |
8fb591 |
interface type), then the configuration is not applied to
|
|
Packit |
8fb591 |
the system-controlled interface shown in the
|
|
Packit |
8fb591 |
/interfaces-state/interface list. If the configuration
|
|
Packit |
8fb591 |
of a user-controlled interface cannot be used by the system,
|
|
Packit |
8fb591 |
the configured interface is not instantiated in the
|
|
Packit |
8fb591 |
/interfaces-state/interface list.";
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf name {
|
|
Packit |
8fb591 |
type string;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The name of the interface.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
A device MAY restrict the allowed values for this leaf,
|
|
Packit |
8fb591 |
possibly depending on the type of the interface.
|
|
Packit |
8fb591 |
For system-controlled interfaces, this leaf is the
|
|
Packit |
8fb591 |
device-specific name of the interface. The 'config false'
|
|
Packit |
8fb591 |
list /interfaces-state/interface contains the currently
|
|
Packit |
8fb591 |
existing interfaces on the device.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
If a client tries to create configuration for a
|
|
Packit |
8fb591 |
system-controlled interface that is not present in the
|
|
Packit |
8fb591 |
/interfaces-state/interface list, the server MAY reject
|
|
Packit |
8fb591 |
the request if the implementation does not support
|
|
Packit |
8fb591 |
pre-provisioning of interfaces or if the name refers to
|
|
Packit |
8fb591 |
an interface that can never exist in the system. A
|
|
Packit |
8fb591 |
NETCONF server MUST reply with an rpc-error with the
|
|
Packit |
8fb591 |
error-tag 'invalid-value' in this case.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
If the device supports pre-provisioning of interface
|
|
Packit |
8fb591 |
configuration, the 'pre-provisioning' feature is
|
|
Packit |
8fb591 |
advertised.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
If the device allows arbitrarily named user-controlled
|
|
Packit |
8fb591 |
interfaces, the 'arbitrary-names' feature is advertised.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
When a configured user-controlled interface is created by
|
|
Packit |
8fb591 |
the system, it is instantiated with the same name in the
|
|
Packit |
8fb591 |
/interface-state/interface list.";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf description {
|
|
Packit |
8fb591 |
type string;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"A textual description of the interface.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
A server implementation MAY map this leaf to the ifAlias
|
|
Packit |
8fb591 |
MIB object. Such an implementation needs to use some
|
|
Packit |
8fb591 |
mechanism to handle the differences in size and characters
|
|
Packit |
8fb591 |
allowed between this leaf and ifAlias. The definition of
|
|
Packit |
8fb591 |
such a mechanism is outside the scope of this document.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Since ifAlias is defined to be stored in non-volatile
|
|
Packit |
8fb591 |
storage, the MIB implementation MUST map ifAlias to the
|
|
Packit |
8fb591 |
value of 'description' in the persistently stored
|
|
Packit |
8fb591 |
datastore.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Specifically, if the device supports ':startup', when
|
|
Packit |
8fb591 |
ifAlias is read the device MUST return the value of
|
|
Packit |
8fb591 |
'description' in the 'startup' datastore, and when it is
|
|
Packit |
8fb591 |
written, it MUST be written to the 'running' and 'startup'
|
|
Packit |
8fb591 |
datastores. Note that it is up to the implementation to
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
decide whether to modify this single leaf in 'startup' or
|
|
Packit |
8fb591 |
perform an implicit copy-config from 'running' to
|
|
Packit |
8fb591 |
'startup'.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
If the device does not support ':startup', ifAlias MUST
|
|
Packit |
8fb591 |
be mapped to the 'description' leaf in the 'running'
|
|
Packit |
8fb591 |
datastore.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifAlias";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf type {
|
|
Packit |
8fb591 |
type identityref {
|
|
Packit |
8fb591 |
base interface-type;
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
mandatory true;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The type of the interface.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
When an interface entry is created, a server MAY
|
|
Packit |
8fb591 |
initialize the type leaf with a valid value, e.g., if it
|
|
Packit |
8fb591 |
is possible to derive the type from the name of the
|
|
Packit |
8fb591 |
interface.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
If a client tries to set the type of an interface to a
|
|
Packit |
8fb591 |
value that can never be used by the system, e.g., if the
|
|
Packit |
8fb591 |
type is not supported or if the type does not match the
|
|
Packit |
8fb591 |
name of the interface, the server MUST reject the request.
|
|
Packit |
8fb591 |
A NETCONF server MUST reply with an rpc-error with the
|
|
Packit |
8fb591 |
error-tag 'invalid-value' in this case.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifType";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf enabled {
|
|
Packit |
8fb591 |
type boolean;
|
|
Packit |
8fb591 |
default "true";
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"This leaf contains the configured, desired state of the
|
|
Packit |
8fb591 |
interface.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Systems that implement the IF-MIB use the value of this
|
|
Packit |
8fb591 |
leaf in the 'running' datastore to set
|
|
Packit |
8fb591 |
IF-MIB.ifAdminStatus to 'up' or 'down' after an ifEntry
|
|
Packit |
8fb591 |
has been initialized, as described in RFC 2863.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Changes in this leaf in the 'running' datastore are
|
|
Packit |
8fb591 |
reflected in ifAdminStatus, but if ifAdminStatus is
|
|
Packit |
8fb591 |
changed over SNMP, this leaf is not affected.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifAdminStatus";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf link-up-down-trap-enable {
|
|
Packit |
8fb591 |
if-feature if-mib;
|
|
Packit |
8fb591 |
type enumeration {
|
|
Packit |
8fb591 |
enum enabled {
|
|
Packit |
8fb591 |
value 1;
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
enum disabled {
|
|
Packit |
8fb591 |
value 2;
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"Controls whether linkUp/linkDown SNMP notifications
|
|
Packit |
8fb591 |
should be generated for this interface.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
If this node is not configured, the value 'enabled' is
|
|
Packit |
8fb591 |
operationally used by the server for interfaces that do
|
|
Packit |
8fb591 |
not operate on top of any other interface (i.e., there are
|
|
Packit |
8fb591 |
no 'lower-layer-if' entries), and 'disabled' otherwise.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB -
|
|
Packit |
8fb591 |
ifLinkUpDownTrapEnable";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
/*
|
|
Packit |
8fb591 |
* Operational state data nodes
|
|
Packit |
8fb591 |
*/
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
container interfaces-state {
|
|
Packit |
8fb591 |
config false;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"Data nodes for the operational state of interfaces.";
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
list interface {
|
|
Packit |
8fb591 |
key "name";
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The list of interfaces on the device.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
System-controlled interfaces created by the system are
|
|
Packit |
8fb591 |
always present in this list, whether they are configured or
|
|
Packit |
8fb591 |
not.";
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf name {
|
|
Packit |
8fb591 |
type string;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The name of the interface.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
A server implementation MAY map this leaf to the ifName
|
|
Packit |
8fb591 |
MIB object. Such an implementation needs to use some
|
|
Packit |
8fb591 |
mechanism to handle the differences in size and characters
|
|
Packit |
8fb591 |
allowed between this leaf and ifName. The definition of
|
|
Packit |
8fb591 |
such a mechanism is outside the scope of this document.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifName";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf type {
|
|
Packit |
8fb591 |
type identityref {
|
|
Packit |
8fb591 |
base interface-type;
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
mandatory true;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The type of the interface.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifType";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf admin-status {
|
|
Packit |
8fb591 |
if-feature if-mib;
|
|
Packit |
8fb591 |
type enumeration {
|
|
Packit |
8fb591 |
enum up {
|
|
Packit |
8fb591 |
value 1;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"Ready to pass packets.";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
enum down {
|
|
Packit |
8fb591 |
value 2;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"Not ready to pass packets and not in some test mode.";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
enum testing {
|
|
Packit |
8fb591 |
value 3;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"In some test mode.";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
mandatory true;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The desired state of the interface.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
This leaf has the same read semantics as ifAdminStatus.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifAdminStatus";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf oper-status {
|
|
Packit |
8fb591 |
type enumeration {
|
|
Packit |
8fb591 |
enum up {
|
|
Packit |
8fb591 |
value 1;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"Ready to pass packets.";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
enum down {
|
|
Packit |
8fb591 |
value 2;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The interface does not pass any packets.";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
enum testing {
|
|
Packit |
8fb591 |
value 3;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"In some test mode. No operational packets can
|
|
Packit |
8fb591 |
be passed.";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
enum unknown {
|
|
Packit |
8fb591 |
value 4;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"Status cannot be determined for some reason.";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
enum dormant {
|
|
Packit |
8fb591 |
value 5;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"Waiting for some external event.";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
enum not-present {
|
|
Packit |
8fb591 |
value 6;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"Some component (typically hardware) is missing.";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
enum lower-layer-down {
|
|
Packit |
8fb591 |
value 7;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"Down due to state of lower-layer interface(s).";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
mandatory true;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The current operational state of the interface.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
This leaf has the same semantics as ifOperStatus.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifOperStatus";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf last-change {
|
|
Packit |
8fb591 |
type yang:date-and-time;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The time the interface entered its current operational
|
|
Packit |
8fb591 |
state. If the current state was entered prior to the
|
|
Packit |
8fb591 |
last re-initialization of the local network management
|
|
Packit |
8fb591 |
subsystem, then this node is not present.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifLastChange";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf if-index {
|
|
Packit |
8fb591 |
if-feature if-mib;
|
|
Packit |
8fb591 |
type int32 {
|
|
Packit |
8fb591 |
range "1..2147483647";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
mandatory true;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The ifIndex value for the ifEntry represented by this
|
|
Packit |
8fb591 |
interface.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifIndex";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf phys-address {
|
|
Packit |
8fb591 |
type yang:phys-address;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The interface's address at its protocol sub-layer. For
|
|
Packit |
8fb591 |
example, for an 802.x interface, this object normally
|
|
Packit |
8fb591 |
contains a Media Access Control (MAC) address. The
|
|
Packit |
8fb591 |
interface's media-specific modules must define the bit
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
and byte ordering and the format of the value of this
|
|
Packit |
8fb591 |
object. For interfaces that do not have such an address
|
|
Packit |
8fb591 |
(e.g., a serial line), this node is not present.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifPhysAddress";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf-list higher-layer-if {
|
|
Packit |
8fb591 |
type interface-state-ref;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"A list of references to interfaces layered on top of this
|
|
Packit |
8fb591 |
interface.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifStackTable";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf-list lower-layer-if {
|
|
Packit |
8fb591 |
type interface-state-ref;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"A list of references to interfaces layered underneath this
|
|
Packit |
8fb591 |
interface.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifStackTable";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf speed {
|
|
Packit |
8fb591 |
type yang:gauge64;
|
|
Packit |
8fb591 |
units "bits/second";
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"An estimate of the interface's current bandwidth in bits
|
|
Packit |
8fb591 |
per second. For interfaces that do not vary in
|
|
Packit |
8fb591 |
bandwidth or for those where no accurate estimation can
|
|
Packit |
8fb591 |
be made, this node should contain the nominal bandwidth.
|
|
Packit |
8fb591 |
For interfaces that have no concept of bandwidth, this
|
|
Packit |
8fb591 |
node is not present.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB -
|
|
Packit |
8fb591 |
ifSpeed, ifHighSpeed";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
container statistics {
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"A collection of interface-related statistics objects.";
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf discontinuity-time {
|
|
Packit |
8fb591 |
type yang:date-and-time;
|
|
Packit |
8fb591 |
mandatory true;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The time on the most recent occasion at which any one or
|
|
Packit |
8fb591 |
more of this interface's counters suffered a
|
|
Packit |
8fb591 |
discontinuity. If no such discontinuities have occurred
|
|
Packit |
8fb591 |
since the last re-initialization of the local management
|
|
Packit |
8fb591 |
subsystem, then this node contains the time the local
|
|
Packit |
8fb591 |
management subsystem re-initialized itself.";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf in-octets {
|
|
Packit |
8fb591 |
type yang:counter64;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The total number of octets received on the interface,
|
|
Packit |
8fb591 |
including framing characters.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Discontinuities in the value of this counter can occur
|
|
Packit |
8fb591 |
at re-initialization of the management system, and at
|
|
Packit |
8fb591 |
other times as indicated by the value of
|
|
Packit |
8fb591 |
'discontinuity-time'.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifHCInOctets";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf in-unicast-pkts {
|
|
Packit |
8fb591 |
type yang:counter64;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The number of packets, delivered by this sub-layer to a
|
|
Packit |
8fb591 |
higher (sub-)layer, that were not addressed to a
|
|
Packit |
8fb591 |
multicast or broadcast address at this sub-layer.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Discontinuities in the value of this counter can occur
|
|
Packit |
8fb591 |
at re-initialization of the management system, and at
|
|
Packit |
8fb591 |
other times as indicated by the value of
|
|
Packit |
8fb591 |
'discontinuity-time'.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifHCInUcastPkts";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf in-broadcast-pkts {
|
|
Packit |
8fb591 |
type yang:counter64;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The number of packets, delivered by this sub-layer to a
|
|
Packit |
8fb591 |
higher (sub-)layer, that were addressed to a broadcast
|
|
Packit |
8fb591 |
address at this sub-layer.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Discontinuities in the value of this counter can occur
|
|
Packit |
8fb591 |
at re-initialization of the management system, and at
|
|
Packit |
8fb591 |
other times as indicated by the value of
|
|
Packit |
8fb591 |
'discontinuity-time'.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB -
|
|
Packit |
8fb591 |
ifHCInBroadcastPkts";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf in-multicast-pkts {
|
|
Packit |
8fb591 |
type yang:counter64;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The number of packets, delivered by this sub-layer to a
|
|
Packit |
8fb591 |
higher (sub-)layer, that were addressed to a multicast
|
|
Packit |
8fb591 |
address at this sub-layer. For a MAC-layer protocol,
|
|
Packit |
8fb591 |
this includes both Group and Functional addresses.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Discontinuities in the value of this counter can occur
|
|
Packit |
8fb591 |
at re-initialization of the management system, and at
|
|
Packit |
8fb591 |
other times as indicated by the value of
|
|
Packit |
8fb591 |
'discontinuity-time'.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB -
|
|
Packit |
8fb591 |
ifHCInMulticastPkts";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf in-discards {
|
|
Packit |
8fb591 |
type yang:counter32;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The number of inbound packets that were chosen to be
|
|
Packit |
8fb591 |
discarded even though no errors had been detected to
|
|
Packit |
8fb591 |
prevent their being deliverable to a higher-layer
|
|
Packit |
8fb591 |
protocol. One possible reason for discarding such a
|
|
Packit |
8fb591 |
packet could be to free up buffer space.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Discontinuities in the value of this counter can occur
|
|
Packit |
8fb591 |
at re-initialization of the management system, and at
|
|
Packit |
8fb591 |
other times as indicated by the value of
|
|
Packit |
8fb591 |
'discontinuity-time'.";
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifInDiscards";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf in-errors {
|
|
Packit |
8fb591 |
type yang:counter32;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"For packet-oriented interfaces, the number of inbound
|
|
Packit |
8fb591 |
packets that contained errors preventing them from being
|
|
Packit |
8fb591 |
deliverable to a higher-layer protocol. For character-
|
|
Packit |
8fb591 |
oriented or fixed-length interfaces, the number of
|
|
Packit |
8fb591 |
inbound transmission units that contained errors
|
|
Packit |
8fb591 |
preventing them from being deliverable to a higher-layer
|
|
Packit |
8fb591 |
protocol.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Discontinuities in the value of this counter can occur
|
|
Packit |
8fb591 |
at re-initialization of the management system, and at
|
|
Packit |
8fb591 |
other times as indicated by the value of
|
|
Packit |
8fb591 |
'discontinuity-time'.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifInErrors";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf in-unknown-protos {
|
|
Packit |
8fb591 |
type yang:counter32;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"For packet-oriented interfaces, the number of packets
|
|
Packit |
8fb591 |
received via the interface that were discarded because
|
|
Packit |
8fb591 |
of an unknown or unsupported protocol. For
|
|
Packit |
8fb591 |
character-oriented or fixed-length interfaces that
|
|
Packit |
8fb591 |
support protocol multiplexing, the number of
|
|
Packit |
8fb591 |
transmission units received via the interface that were
|
|
Packit |
8fb591 |
discarded because of an unknown or unsupported protocol.
|
|
Packit |
8fb591 |
For any interface that does not support protocol
|
|
Packit |
8fb591 |
multiplexing, this counter is not present.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Discontinuities in the value of this counter can occur
|
|
Packit |
8fb591 |
at re-initialization of the management system, and at
|
|
Packit |
8fb591 |
other times as indicated by the value of
|
|
Packit |
8fb591 |
'discontinuity-time'.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifInUnknownProtos";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf out-octets {
|
|
Packit |
8fb591 |
type yang:counter64;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The total number of octets transmitted out of the
|
|
Packit |
8fb591 |
interface, including framing characters.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Discontinuities in the value of this counter can occur
|
|
Packit |
8fb591 |
at re-initialization of the management system, and at
|
|
Packit |
8fb591 |
other times as indicated by the value of
|
|
Packit |
8fb591 |
'discontinuity-time'.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifHCOutOctets";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf out-unicast-pkts {
|
|
Packit |
8fb591 |
type yang:counter64;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The total number of packets that higher-level protocols
|
|
Packit |
8fb591 |
requested be transmitted, and that were not addressed
|
|
Packit |
8fb591 |
to a multicast or broadcast address at this sub-layer,
|
|
Packit |
8fb591 |
including those that were discarded or not sent.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Discontinuities in the value of this counter can occur
|
|
Packit |
8fb591 |
at re-initialization of the management system, and at
|
|
Packit |
8fb591 |
other times as indicated by the value of
|
|
Packit |
8fb591 |
'discontinuity-time'.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifHCOutUcastPkts";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf out-broadcast-pkts {
|
|
Packit |
8fb591 |
type yang:counter64;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The total number of packets that higher-level protocols
|
|
Packit |
8fb591 |
requested be transmitted, and that were addressed to a
|
|
Packit |
8fb591 |
broadcast address at this sub-layer, including those
|
|
Packit |
8fb591 |
that were discarded or not sent.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Discontinuities in the value of this counter can occur
|
|
Packit |
8fb591 |
at re-initialization of the management system, and at
|
|
Packit |
8fb591 |
other times as indicated by the value of
|
|
Packit |
8fb591 |
'discontinuity-time'.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB -
|
|
Packit |
8fb591 |
ifHCOutBroadcastPkts";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf out-multicast-pkts {
|
|
Packit |
8fb591 |
type yang:counter64;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The total number of packets that higher-level protocols
|
|
Packit |
8fb591 |
requested be transmitted, and that were addressed to a
|
|
Packit |
8fb591 |
multicast address at this sub-layer, including those
|
|
Packit |
8fb591 |
that were discarded or not sent. For a MAC-layer
|
|
Packit |
8fb591 |
protocol, this includes both Group and Functional
|
|
Packit |
8fb591 |
addresses.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Discontinuities in the value of this counter can occur
|
|
Packit |
8fb591 |
at re-initialization of the management system, and at
|
|
Packit |
8fb591 |
other times as indicated by the value of
|
|
Packit |
8fb591 |
'discontinuity-time'.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB -
|
|
Packit |
8fb591 |
ifHCOutMulticastPkts";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf out-discards {
|
|
Packit |
8fb591 |
type yang:counter32;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"The number of outbound packets that were chosen to be
|
|
Packit |
8fb591 |
discarded even though no errors had been detected to
|
|
Packit |
8fb591 |
prevent their being transmitted. One possible reason
|
|
Packit |
8fb591 |
for discarding such a packet could be to free up buffer
|
|
Packit |
8fb591 |
space.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Discontinuities in the value of this counter can occur
|
|
Packit |
8fb591 |
at re-initialization of the management system, and at
|
|
Packit |
8fb591 |
other times as indicated by the value of
|
|
Packit |
8fb591 |
'discontinuity-time'.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifOutDiscards";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
leaf out-errors {
|
|
Packit |
8fb591 |
type yang:counter32;
|
|
Packit |
8fb591 |
description
|
|
Packit |
8fb591 |
"For packet-oriented interfaces, the number of outbound
|
|
Packit |
8fb591 |
packets that could not be transmitted because of errors.
|
|
Packit |
8fb591 |
For character-oriented or fixed-length interfaces, the
|
|
Packit |
8fb591 |
number of outbound transmission units that could not be
|
|
Packit |
8fb591 |
transmitted because of errors.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Discontinuities in the value of this counter can occur
|
|
Packit |
8fb591 |
at re-initialization of the management system, and at
|
|
Packit |
8fb591 |
other times as indicated by the value of
|
|
Packit |
8fb591 |
'discontinuity-time'.";
|
|
Packit |
8fb591 |
reference
|
|
Packit |
8fb591 |
"RFC 2863: The Interfaces Group MIB - ifOutErrors";
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
}
|
|
Packit |
8fb591 |
}
|