@Deprecated public interface InterfacesState extends ChildOf<IetfInterfacesData>, Augmentable<InterfacesState>
This class represents the following YANG schema fragment defined in module ietf-interfaces
container interfaces-state { config false; status deprecated; list interface { key name; status deprecated; leaf name { type string; status deprecated; } leaf type { type identityref { base interface-type; } status deprecated; } leaf admin-status { if-feature if-mib; type enumeration { enum up { value 1; } enum down { value 2; } enum testing { value 3; } } status deprecated; } leaf oper-status { type enumeration { enum up { value 1; } enum down { value 2; } enum testing { value 3; } enum unknown { value 4; } enum dormant { value 5; } enum not-present { value 6; } enum lower-layer-down { value 7; } } status deprecated; } leaf last-change { type yang:date-and-time; status deprecated; } leaf if-index { if-feature if-mib; type int32 { range 1..2147483647; } status deprecated; } leaf phys-address { type yang:phys-address; status deprecated; } leaf-list higher-layer-if { type interface-state-ref; status deprecated; } leaf-list lower-layer-if { type interface-state-ref; status deprecated; } leaf speed { type yang:gauge64; units bits/second; status deprecated; } container statistics { status deprecated; leaf discontinuity-time { type yang:date-and-time; status deprecated; } leaf in-octets { type yang:counter64; status deprecated; } leaf in-unicast-pkts { type yang:counter64; status deprecated; } leaf in-broadcast-pkts { type yang:counter64; status deprecated; } leaf in-multicast-pkts { type yang:counter64; status deprecated; } leaf in-discards { type yang:counter32; status deprecated; } leaf in-errors { type yang:counter32; status deprecated; } leaf in-unknown-protos { type yang:counter32; status deprecated; } leaf out-octets { type yang:counter64; status deprecated; } leaf out-unicast-pkts { type yang:counter64; status deprecated; } leaf out-broadcast-pkts { type yang:counter64; status deprecated; } leaf out-multicast-pkts { type yang:counter64; status deprecated; } leaf out-discards { type yang:counter32; status deprecated; } leaf out-errors { type yang:counter32; status deprecated; } } } }The schema path to identify an instance is ietf-interfaces/interfaces-state
To create instances of this class use InterfacesStateBuilder
.
InterfacesStateBuilder
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
@Nullable List<Interface> |
getInterface()
Deprecated.
|
default @NonNull List<Interface> |
nonnullInterface()
Deprecated.
|
getImplementedInterface
augmentation
@Deprecated @Nullable List<Interface> getInterface()
java.util.List
interface
, or null
if not present@Deprecated default @NonNull List<Interface> nonnullInterface()
java.util.List
interface
, or an empty list if it is not presentCopyright © 2019 OpenDaylight. All rights reserved.