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 ../config/name;
}
}
container config {
oc-ext:telemetry-on-change;
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
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn interfaces, ornullif it is not present.Class<? extends InterfacesTop>@NonNull InterfacesReturn 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:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getInterfaces
Interfaces getInterfaces()Return interfaces, ornullif it is not present.Top level container for interfaces, including configuration and state data.- Returns:
Interfacesinterfaces, ornullif it is not present.
-
nonnullInterfaces
@NonNull Interfaces nonnullInterfaces()Return interfaces, or an empty instance if it is not present.- Returns:
Interfacesinterfaces, or an empty instance if it is not present.
-