Interface PathDescriptions
- 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:
ComputedPath,ConstrainedPath,GetConstrainedPathOutput
@Generated("mdsal-binding-generator")
public interface PathDescriptions
extends org.opendaylight.yangtools.binding.Grouping
Computed Path description as a list of IPv4, IPv6 or Segment Routing subobject
This 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 or path-constraints/address-family = 2";
type inet:ipv4-address;
}
leaf ipv6 {
when "path-constraints/address-family = 1 or path-constraints/address-family = 3";
type inet:ipv6-address;
}
leaf remote-ipv4 {
when "path-constraints/address-family = 2";
type inet:ipv4-address;
}
leaf remote-ipv6 {
when "path-constraints/address-family = 3";
type inet:ipv6-address;
}
leaf sid {
when "path-constraints/address-family = 2 or path-constraints/address-family = 3";
type uint32;
}
}
}
-
Method Summary
Modifier and TypeMethodDescription@Nullable List<PathDescription> Return pathDescription, ornullif it is not present.default @NonNull List<PathDescription> Return pathDescription, or an empty list if it is not present.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
getPathDescription
@Nullable List<PathDescription> getPathDescription()Return pathDescription, ornullif it is not present.- Returns:
List<PathDescription>pathDescription, ornullif it is not present.
-
nonnullPathDescription
Return pathDescription, or an empty list if it is not present.- Returns:
List<PathDescription>pathDescription, or an empty list if it is not present.
-