@Beta public final class OpticalConnectivityIntent extends Intent
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
OpticalConnectivityIntent.Builder
Builder for optical connectivity intents. 
 | 
DEFAULT_INTENT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY| Modifier | Constructor and Description | 
|---|---|
protected  | 
OpticalConnectivityIntent()
Constructor for serializer. 
 | 
protected  | 
OpticalConnectivityIntent(ApplicationId appId,
                         Key key,
                         ConnectPoint src,
                         ConnectPoint dst,
                         OduSignalType signalType,
                         boolean isBidirectional,
                         Optional<OchSignal> ochSignal,
                         Optional<Path> suggestedPath,
                         int priority,
                         ResourceGroup resourceGroup)
Creates an optical connectivity intent between the specified
 connection points. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static OpticalConnectivityIntent.Builder | 
builder()
Returns a new optical connectivity intent builder. 
 | 
ConnectPoint | 
getDst()
Returns the destination transponder port. 
 | 
OduSignalType | 
getSignalType()
Returns the ODU signal type. 
 | 
ConnectPoint | 
getSrc()
Returns the source transponder port. 
 | 
boolean | 
isBidirectional()
Returns the directionality of the intent. 
 | 
Optional<OchSignal> | 
ochSignal()
Returns the OCh signal of the intent. 
 | 
Optional<Path> | 
suggestedPath()
Returns the suggestedPath of the intent. 
 | 
String | 
toString()  | 
appId, bindIdGenerator, equals, hashCode, id, isInstallable, key, priority, resourceGroup, resources, unbindIdGeneratorprotected OpticalConnectivityIntent(ApplicationId appId, Key key, ConnectPoint src, ConnectPoint dst, OduSignalType signalType, boolean isBidirectional, Optional<OchSignal> ochSignal, Optional<Path> suggestedPath, int priority, ResourceGroup resourceGroup)
appId - application identificationkey - intent keysrc - the source transponder portdst - the destination transponder portsignalType - signal typeisBidirectional - indicates if intent is unidirectionalochSignal - optional OCh signalsuggestedPath - optional suggested pathpriority - priority to use for flows from this intentresourceGroup - resource group of this intentprotected OpticalConnectivityIntent()
public static OpticalConnectivityIntent.Builder builder()
public ConnectPoint getSrc()
public ConnectPoint getDst()
public OduSignalType getSignalType()
public boolean isBidirectional()
public Optional<OchSignal> ochSignal()
public Optional<Path> suggestedPath()