@Beta public final class OpticalOduIntent extends Intent
| Modifier and Type | Class and Description |
|---|---|
static class |
OpticalOduIntent.Builder
Builder for optical ODU intents.
|
DEFAULT_INTENT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY| Modifier | Constructor and Description |
|---|---|
protected |
OpticalOduIntent()
Constructor for serializer.
|
protected |
OpticalOduIntent(ApplicationId appId,
Key key,
ConnectPoint src,
ConnectPoint dst,
CltSignalType signalType,
boolean isBidirectional,
int priority)
Deprecated.
1.9.1
|
protected |
OpticalOduIntent(ApplicationId appId,
Key key,
ConnectPoint src,
ConnectPoint dst,
CltSignalType signalType,
boolean isBidirectional,
int priority,
ResourceGroup resourceGroup)
Creates an optical ODU intent between the specified connection points.
|
| Modifier and Type | Method and Description |
|---|---|
static OpticalOduIntent.Builder |
builder()
Returns a new optical ODU intent builder.
|
ConnectPoint |
getDst()
Returns the destination transponder port.
|
CltSignalType |
getSignalType()
Returns the CltSignalType signal type.
|
ConnectPoint |
getSrc()
Returns the source transponder port.
|
boolean |
isBidirectional()
Returns the directionality of the intent.
|
java.lang.String |
toString() |
appId, bindIdGenerator, equals, hashCode, id, isInstallable, key, priority, resourceGroup, resources, unbindIdGenerator@Deprecated protected OpticalOduIntent(ApplicationId appId, Key key, ConnectPoint src, ConnectPoint dst, CltSignalType signalType, boolean isBidirectional, int priority)
appId - application identificationkey - intent keysrc - the source transponder portdst - the destination transponder portsignalType - CltSignalType signal typeisBidirectional - indicate if intent is bidirectionalpriority - priority to use for flows from this intentprotected OpticalOduIntent(ApplicationId appId, Key key, ConnectPoint src, ConnectPoint dst, CltSignalType signalType, boolean isBidirectional, int priority, ResourceGroup resourceGroup)
appId - application identificationkey - intent keysrc - the source transponder portdst - the destination transponder portsignalType - CltSignalType signal typeisBidirectional - indicate if intent is bidirectionalpriority - priority to use for flows from this intentresourceGroup - resource group for this intentprotected OpticalOduIntent()
public static OpticalOduIntent.Builder builder()
public ConnectPoint getSrc()
public ConnectPoint getDst()
public CltSignalType getSignalType()
public boolean isBidirectional()
public java.lang.String toString()
toString in class java.lang.Object