Interface ExplicitLocatorPath
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.Augmentable<ExplicitLocatorPath>
,org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.ChildOf<LispAddress>
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
public interface ExplicitLocatorPath extends org.opendaylight.yangtools.yang.binding.ChildOf<LispAddress>, org.opendaylight.yangtools.yang.binding.Augmentable<ExplicitLocatorPath>
Explicit Locator Path LCAF type.This class represents the following YANG schema fragment defined in module ietf-lisp-address-types
container explicit-locator-path { when "../address-type = 'laddr:explicit-locator-path-lcaf'" { } list hop { key hop-id; ordered-by user; leaf hop-id { type string; } leaf address { type simple-address; } leaf lrs-bits { type bits { bit lookup { } bit rloc-probe { } bit strict { } } } } }
The schema path to identify an instance is ietf-lisp-address-types/lisp-address/address/explicit-locator-path/explicit-locator-pathTo create instances of this class use
ExplicitLocatorPathBuilder
.- See Also:
ExplicitLocatorPathBuilder
-
-
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 java.util.List<Hop>
getHop()
List of locator hops forming the explicit path.default java.lang.Class<ExplicitLocatorPath>
implementedInterface()
default @NonNull java.util.List<Hop>
nonnullHop()
-
-
-
Method Detail
-
implementedInterface
default java.lang.Class<ExplicitLocatorPath> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getHop
@Nullable java.util.List<Hop> getHop()
List of locator hops forming the explicit path.- Returns:
java.util.List
hop
, ornull
if not present
-
nonnullHop
default @NonNull java.util.List<Hop> nonnullHop()
- Returns:
java.util.List
hop
, or an empty list if it is not present
-
-