Interface InterfacesTop
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
OpenconfigInterfacesData
@Generated("mdsal-binding-generator")
public interface InterfacesTop
extends org.opendaylight.yangtools.yang.binding.DataObject
Top-level grouping for interface configuration and operational state data
This class represents the following YANG schema fragment defined in module openconfig-interfaces
grouping interfaces-top { container interfaces { list interface { key name; leaf name { type leafref { path ../oc-if:config/oc-if:name; } } container config { uses interface-phys-config; } container state { config false; uses interface-phys-config; uses interface-common-state; uses interface-counters-state; } uses interface-phys-holdtime-top; uses subinterfaces-top; } } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn interfaces, ornull
if it is not present.Class<? extends InterfacesTop>
@NonNull Interfaces
Return interfaces, or an empty instance if it is not present.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends InterfacesTop> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getInterfaces
Interfaces getInterfaces()Return interfaces, ornull
if it is not present.Top level container for interfaces, including configuration and state data.
- Returns:
Interfaces
interfaces, ornull
if it is not present.
-
nonnullInterfaces
@NonNull Interfaces nonnullInterfaces()Return interfaces, or an empty instance if it is not present.- Returns:
Interfaces
interfaces, or an empty instance if it is not present.
-