public interface Interfaces extends ChildOf<IetfInterfacesData>, Augmentable<Interfaces>
This class represents the following YANG schema fragment defined in module ietf-interfaces
container interfaces { list interface { key name; leaf name { type string; } leaf description { type string; } leaf type { type identityref { base interface-type; } } leaf enabled { type boolean; default true; } leaf link-up-down-trap-enable { if-feature if-mib; type enumeration { enum enabled { value 1; } enum disabled { value 2; } } } leaf admin-status { if-feature if-mib; type enumeration { enum up { value 1; } enum down { value 2; } enum testing { value 3; } } config false; } 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; } } config false; } leaf last-change { type yang:date-and-time; config false; } leaf if-index { if-feature if-mib; type int32 { range 1..2147483647; } config false; } leaf phys-address { type yang:phys-address; config false; } leaf-list higher-layer-if { type interface-ref; config false; } leaf-list lower-layer-if { type interface-ref; config false; } leaf speed { type yang:gauge64; units bits/second; config false; } container statistics { config false; 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
To create instances of this class use InterfacesBuilder
.
InterfacesBuilder
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.The status of an interface is available in
this list in theoperational state.
|
default @NonNull List<Interface> |
nonnullInterface() |
getImplementedInterface
augmentation
@Nullable List<Interface> getInterface()
java.util.List
interface
, or null
if not presentCopyright © 2019 OpenDaylight. All rights reserved.