Package org.onosproject.net.intent
Class OpticalPathIntent
- java.lang.Object
-
- org.onosproject.net.intent.Intent
-
- org.onosproject.net.intent.OpticalPathIntent
-
@Beta public final class OpticalPathIntent extends Intent
An optical layer intent with explicitly selected path.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOpticalPathIntent.BuilderBuilder for optical path intents.
-
Field Summary
Fields Modifier and Type Field Description static StringREVERSE_PORT_ANNOTATION_KEY-
Fields inherited from class org.onosproject.net.intent.Intent
DEFAULT_INTENT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOpticalPathIntent()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OpticalPathIntent.Builderbuilder()Returns a new optical connectivity intent builder.ConnectPointdst()booleanisBidirectional()OchSignallambda()Pathpath()OchSignalTypesignalType()ConnectPointsrc()StringtoString()-
Methods inherited from class org.onosproject.net.intent.Intent
appId, bindIdGenerator, equals, hashCode, id, isInstallable, key, priority, resourceGroup, resources, unbindIdGenerator
-
-
-
-
Field Detail
-
REVERSE_PORT_ANNOTATION_KEY
public static final String REVERSE_PORT_ANNOTATION_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
builder
public static OpticalPathIntent.Builder builder()
Returns a new optical connectivity intent builder.- Returns:
- host to host intent builder
-
src
public ConnectPoint src()
-
dst
public ConnectPoint dst()
-
path
public Path path()
-
lambda
public OchSignal lambda()
-
signalType
public OchSignalType signalType()
-
isBidirectional
public boolean isBidirectional()
-
-