Interface PccConfiguredLsp
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
- All Known Subinterfaces:
PathComputationClient1
,PcepNodeConfig
@Generated("mdsal-binding-generator")
public interface PccConfiguredLsp
extends org.opendaylight.yangtools.binding.Grouping
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; } } }
-
Method Summary
Modifier and TypeMethodDescription@Nullable Map
<ConfiguredLspKey, ConfiguredLsp> Return configuredLsp, ornull
if it is not present.default @NonNull Map
<ConfiguredLspKey, ConfiguredLsp> Return configuredLsp, or an empty list if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
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.
-