Interface PlatformComponentTop
- 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:
OpenconfigPlatformData
@Generated("mdsal-binding-generator")
public interface PlatformComponentTop
extends org.opendaylight.yangtools.yang.binding.DataObject
Top-level grouping for components in the device inventory
This class represents the following YANG schema fragment defined in module openconfig-platform
grouping platform-component-top {
container components {
list component {
key name;
leaf name {
type leafref {
path ../config/name;
}
}
container config {
uses platform-component-config;
}
container state {
config false;
uses platform-component-config;
uses platform-component-state;
uses platform-component-temp-state;
uses platform-component-memory-state;
uses platform-component-power-state;
}
uses platform-component-properties-top;
uses platform-subcomponent-ref-top;
uses platform-anchors-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 components, ornullif it is not present.Class<? extends PlatformComponentTop>@NonNull ComponentsReturn components, 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 PlatformComponentTop> 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
-
getComponents
Components getComponents()Return components, ornullif it is not present.Enclosing container for the components in the system.- Returns:
Componentscomponents, ornullif it is not present.
-
nonnullComponents
@NonNull Components nonnullComponents()Return components, or an empty instance if it is not present.- Returns:
Componentscomponents, or an empty instance if it is not present.
-