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; list interface { key name; leaf name { type string; } leaf type { type identityref { base interface-type; } } leaf admin-status { if-feature if-mib; type enumeration { enum up { value 1; } enum down { value 2; } enum testing { value 3; } } } 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; } } } leaf last-change { type yang:date-and-time; } leaf if-index { if-feature if-mib; type int32 { range 1..2147483647; } } leaf phys-address { type yang:phys-address; } leaf-list higher-layer-if { type interface-state-ref; } leaf-list lower-layer-if { type interface-state-ref; } leaf speed { type yang:gauge64; units bits/second; } container statistics { leaf discontinuity-time { type yang:date-and-time; } leaf in-octets { type yang:counter64; } leaf in-unicast-pkts { type yang:counter64; } leaf in-broadcast-pkts { type yang:counter64; } leaf in-multicast-pkts { type yang:counter64; } leaf in-discards { type yang:counter32; } leaf in-errors { type yang:counter32; } leaf in-unknown-protos { type yang:counter32; } leaf out-octets { type yang:counter64; } leaf out-unicast-pkts { type yang:counter64; } leaf out-broadcast-pkts { type yang:counter64; } leaf out-multicast-pkts { type yang:counter64; } leaf out-discards { type yang:counter32; } leaf out-errors { type yang:counter32; } } } }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 |
Modifier and Type | Method and Description |
---|---|
@Nullable List<Interface> |
getInterface()
The list of interfaces on the device.System-controlled interfaces created by the
system arealways present in this list, whether they are configured ornot.
|
default @NonNull List<Interface> |
nonnullInterface() |
getImplementedInterface
augmentation
Copyright © 2019 OpenDaylight. All rights reserved.