Enum Class IGenericMapResolver.ExplicitLocatorPathPolicy
java.lang.Object
java.lang.Enum<IGenericMapResolver.ExplicitLocatorPathPolicy>
org.opendaylight.lispflowmapping.interfaces.lisp.IGenericMapResolver.ExplicitLocatorPathPolicy
- All Implemented Interfaces:
Serializable
,Comparable<IGenericMapResolver.ExplicitLocatorPathPolicy>
,Constable
- Enclosing interface:
IGenericMapResolver
public static enum IGenericMapResolver.ExplicitLocatorPathPolicy
extends Enum<IGenericMapResolver.ExplicitLocatorPathPolicy>
Enumeration of methods of how to build a Map-Reply southbound message from a mapping containing an Explicit
Locator Path (ELP) RLOC. It is used for compatibility with dataplane devices that don’t understand the ELP LCAF
format.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdd a new RLOC to the mapping, with a lower priority than the ELP, that is the next hop in the service chain.Do not alter the mapping, returning all RLOCs unmodified.Add a new RLOC using the same algorithm asBOTH
, but using the origin priority of the ELP RLOC, which is removed from the mapping. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
Do not alter the mapping, returning all RLOCs unmodified. -
BOTH
Add a new RLOC to the mapping, with a lower priority than the ELP, that is the next hop in the service chain. To determine the next hop, it searches the source RLOC of the Map-Request in the ELP, and chooses the next hop, if it exists, otherwise it chooses the first hop. -
REPLACE
Add a new RLOC using the same algorithm asBOTH
, but using the origin priority of the ELP RLOC, which is removed from the mapping.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-