Package org.onosproject.net.intent
Class ProtectedTransportIntent
- java.lang.Object
-
- org.onosproject.net.intent.Intent
-
- org.onosproject.net.intent.ConnectivityIntent
-
- org.onosproject.net.intent.ProtectedTransportIntent
-
@Immutable @Beta public final class ProtectedTransportIntent extends ConnectivityIntent
Intent to create a protected linear path.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ProtectedTransportIntent.Builder
Builder forProtectedTransportIntent
.
-
Field Summary
-
Fields inherited from class org.onosproject.net.intent.Intent
DEFAULT_INTENT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProtectedTransportIntent.Builder
builder()
Returns a newProtectedTransportIntent
builder.DeviceId
one()
Returns the transport endpoint device one.java.lang.String
toString()
DeviceId
two()
Returns the transport endpoint device two.-
Methods inherited from class org.onosproject.net.intent.ConnectivityIntent
constraints, resources, resources, selector, treatment
-
Methods inherited from class org.onosproject.net.intent.Intent
appId, bindIdGenerator, equals, hashCode, id, isInstallable, key, priority, resourceGroup, resources, unbindIdGenerator
-
-
-
-
Method Detail
-
one
public DeviceId one()
Returns the transport endpoint device one.- Returns:
- transport endpoint device id
-
two
public DeviceId two()
Returns the transport endpoint device two.- Returns:
- transport endpoint device id
-
builder
public static ProtectedTransportIntent.Builder builder()
Returns a newProtectedTransportIntent
builder.- Returns:
- the builder
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-