Interface Subinterface
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<Subinterface>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<Subinterfaces>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
,org.opendaylight.yangtools.yang.binding.Identifiable<SubinterfaceKey>
public interface Subinterface extends org.opendaylight.yangtools.yang.binding.ChildOf<Subinterfaces>, org.opendaylight.yangtools.yang.binding.Augmentable<Subinterface>, org.opendaylight.yangtools.yang.binding.Identifiable<SubinterfaceKey>
The list of subinterfaces (logical interfaces) associated with a physical interfaceThis class represents the following YANG schema fragment defined in module openconfig-interfaces
list subinterface { key index; leaf index { type leafref { path ../oc-if:config/oc-if:index; } } container config { uses subinterfaces-config; } container state { config false; uses subinterfaces-config; uses subinterfaces-state; } }
The schema path to identify an instance is openconfig-interfaces/subinterfaces-top/subinterfaces/subinterfaceTo create instances of this class use
SubinterfaceBuilder
.- See Also:
SubinterfaceBuilder
,SubinterfaceKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Config
getConfig()
Configurable items at the subinterface levelorg.opendaylight.yangtools.yang.common.Uint32
getIndex()
The index number of the subinterface -- used to address the logical interfaceState
getState()
Operational state data for logical interfacesdefault Class<Subinterface>
implementedInterface()
SubinterfaceKey
key()
-
-
-
Method Detail
-
implementedInterface
default Class<Subinterface> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getIndex
org.opendaylight.yangtools.yang.common.Uint32 getIndex()
The index number of the subinterface -- used to address the logical interface- Returns:
org.opendaylight.yangtools.yang.common.Uint32
index
, ornull
if not present
-
getConfig
Config getConfig()
Configurable items at the subinterface level- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.interfaces.rev160412.subinterfaces.top.subinterfaces.subinterface.Config
config
, ornull
if not present
-
getState
State getState()
Operational state data for logical interfaces- Returns:
org.opendaylight.yang.gen.v1.http.openconfig.net.yang.interfaces.rev160412.subinterfaces.top.subinterfaces.subinterface.State
state
, ornull
if not present
-
key
SubinterfaceKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<SubinterfaceKey>
-
-