Interface PccConfiguredLsp
- 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:
PathComputationClient1
,PcepNodeConfig
@Generated("mdsal-binding-generator")
public interface PccConfiguredLsp
extends org.opendaylight.yangtools.yang.binding.DataObject
Configured LSP per PCC node
This class represents the following YANG schema fragment defined in module pcep-server
grouping pcc-configured-lsp { list configured-lsp { key name; leaf name { type string; } leaf path-status { type path-status; config false; } container intended-path { leaf source { type inet:ip-address; } leaf destination { type inet:ip-address; } container constraints { uses algo:path-constraints; } } container computed-path { uses algo:path-descriptions; leaf computed-metric { type uint32; } leaf computation-status { type algo:computation-status; } config false; } } }
-
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 TypeMethodDescription@Nullable Map<ConfiguredLspKey,
ConfiguredLsp> Return configuredLsp, ornull
if it is not present.Class<? extends PccConfiguredLsp>
default @NonNull Map<ConfiguredLspKey,
ConfiguredLsp> Return configuredLsp, or an empty list 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 PccConfiguredLsp> 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
-
getConfiguredLsp
@Nullable Map<ConfiguredLspKey,ConfiguredLsp> getConfiguredLsp()Return configuredLsp, ornull
if it is not present.List of Configured LSP per PCC
- Returns:
Map<ConfiguredLspKey, ConfiguredLsp>
configuredLsp, ornull
if it is not present.
-
nonnullConfiguredLsp
Return configuredLsp, or an empty list if it is not present.- Returns:
Map<ConfiguredLspKey, ConfiguredLsp>
configuredLsp, or an empty list if it is not present.
-