@Deprecated public interface Interface extends ChildOf<InterfacesState>, Augmentable<Interface>, Identifiable<InterfaceKey>
This class represents the following YANG schema fragment defined in module ietf-interfaces
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/interface
To create instances of this class use InterfaceBuilder
.
InterfaceBuilder
,
InterfaceKey
Modifier and Type | Interface and Description |
---|---|
static class |
Interface.AdminStatus
Deprecated.
|
static class |
Interface.OperStatus
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
@Nullable Interface.AdminStatus |
getAdminStatus()
Deprecated.
|
@Nullable List<String> |
getHigherLayerIf()
Deprecated.
|
@Nullable Integer |
getIfIndex()
Deprecated.
|
@Nullable DateAndTime |
getLastChange()
Deprecated.
|
@Nullable List<String> |
getLowerLayerIf()
Deprecated.
|
@Nullable String |
getName()
Deprecated.
|
@Nullable Interface.OperStatus |
getOperStatus()
Deprecated.
|
@Nullable PhysAddress |
getPhysAddress()
Deprecated.
|
@Nullable Gauge64 |
getSpeed()
Deprecated.
|
@Nullable Statistics |
getStatistics()
Deprecated.
|
@Nullable Class<? extends InterfaceType> |
getType()
Deprecated.
|
InterfaceKey |
key()
Deprecated.
Returns an unique key for the object.
|
getImplementedInterface
augmentation
@Deprecated @Nullable String getName()
java.lang.String
name
, or null
if not present@Deprecated @Nullable Class<? extends InterfaceType> getType()
java.lang.Class
type
, or null
if not present@Deprecated @Nullable Interface.AdminStatus getAdminStatus()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev180220.interfaces.state.Interface.AdminStatus
adminStatus
, or null
if not present@Deprecated @Nullable Interface.OperStatus getOperStatus()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev180220.interfaces.state.Interface.OperStatus
operStatus
, or null
if not present@Deprecated @Nullable DateAndTime getLastChange()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.DateAndTime
lastChange
, or null
if not present@Deprecated @Nullable Integer getIfIndex()
java.lang.Integer
ifIndex
, or null
if not present@Deprecated @Nullable PhysAddress getPhysAddress()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress
physAddress
, or null
if not present@Deprecated @Nullable List<String> getHigherLayerIf()
java.util.List
higherLayerIf
, or null
if not present@Deprecated @Nullable List<String> getLowerLayerIf()
java.util.List
lowerLayerIf
, or null
if not present@Deprecated @Nullable Gauge64 getSpeed()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Gauge64
speed
, or null
if not present@Deprecated @Nullable Statistics getStatistics()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.interfaces.rev180220.interfaces.state._interface.Statistics
statistics
, or null
if not presentInterfaceKey key()
Identifiable
key
in interface Identifiable<InterfaceKey>
Copyright © 2019 OpenDaylight. All rights reserved.