public interface Interface extends org.opendaylight.yangtools.yang.binding.ChildOf<InterfacesState>, org.opendaylight.yangtools.yang.binding.Augmentable<Interface>, org.opendaylight.yangtools.yang.binding.Identifiable<InterfaceKey>
This class represents the following YANG schema fragment defined in module p4plugin-netconf-adapter
list interface { key name; ordered-by user; leaf name { type string; } leaf type { type identityref { base interface-type; } } leaf admin-status { 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 if-index { type int32 { range 1..2147483647; } } leaf phys-address { type yang:phys-address; } leaf speed { type yang:gauge64; units bits/second; } }The schema path to identify an instance is p4plugin-netconf-adapter/interfaces-state/interface
To create instances of this class use InterfaceBuilder
.
InterfaceBuilder
,
InterfaceKey
Modifier and Type | Interface and Description |
---|---|
static class |
Interface.AdminStatus |
static class |
Interface.OperStatus |
Modifier and Type | Field and Description |
---|---|
static org.opendaylight.yangtools.yang.common.QName |
QNAME |
Modifier and Type | Method and Description |
---|---|
Interface.AdminStatus |
getAdminStatus() |
Integer |
getIfIndex() |
InterfaceKey |
getKey()
Returns Primary Key of Yang List Type
|
String |
getName() |
Interface.OperStatus |
getOperStatus() |
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress |
getPhysAddress() |
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Gauge64 |
getSpeed() |
Class<? extends InterfaceType> |
getType() |
String getName()
java.lang.String
name
, or null
if not presentClass<? extends InterfaceType> getType()
java.lang.Class
type
, or null
if not presentInterface.AdminStatus getAdminStatus()
org.opendaylight.yang.gen.v1.urn.p4plugin.netconf.adapter.rev170908.interfaces.state.Interface.AdminStatus
adminStatus
, or null
if not presentInterface.OperStatus getOperStatus()
org.opendaylight.yang.gen.v1.urn.p4plugin.netconf.adapter.rev170908.interfaces.state.Interface.OperStatus
operStatus
, or null
if not presentInteger getIfIndex()
java.lang.Integer
ifIndex
, or null
if not presentorg.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress getPhysAddress()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.PhysAddress
physAddress
, or null
if not presentorg.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Gauge64 getSpeed()
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.Gauge64
speed
, or null
if not presentInterfaceKey getKey()
getKey
in interface org.opendaylight.yangtools.yang.binding.Identifiable<InterfaceKey>
org.opendaylight.yang.gen.v1.urn.p4plugin.netconf.adapter.rev170908.interfaces.state.InterfaceKey
key
, or null
if not presentCopyright © 2018 OpenDaylight. All rights reserved.