Interface PathDescriptions
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
ConstrainedPath
,GetConstrainedPathOutput
@Generated("mdsal-binding-generator") public interface PathDescriptions extends org.opendaylight.yangtools.yang.binding.DataObject
Computed Path description as a list of IPv4, IPv6 or Segment Routing subobjectThis class represents the following YANG schema fragment defined in module path-computation
grouping path-descriptions { list path-description { leaf ipv4 { when "path-constraints/address-family = 0"; type inet:ipv4-address; } leaf ipv6 { when "path-constraints/address-family = 1"; type inet:ipv6-address; } uses sr-description; } }
The schema path to identify an instance is path-computation/path-descriptions
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable List<PathDescription>
getPathDescription()
Return pathDescription, ornull
if it is not present.Class<? extends PathDescriptions>
implementedInterface()
default @NonNull List<PathDescription>
nonnullPathDescription()
Return pathDescription, or an empty list if it is not present.
-
-
-
Method Detail
-
implementedInterface
Class<? extends PathDescriptions> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getPathDescription
@Nullable List<PathDescription> getPathDescription()
Return pathDescription, ornull
if it is not present.- Returns:
java.util.List
pathDescription, ornull
if it is not present.
-
nonnullPathDescription
default @NonNull List<PathDescription> nonnullPathDescription()
Return pathDescription, or an empty list if it is not present.- Returns:
java.util.List
pathDescription, or an empty list if it is not present.
-
-