Package org.onosproject.net.intent
Class ProtectionEndpointIntent
- java.lang.Object
- 
- org.onosproject.net.intent.Intent
- 
- org.onosproject.net.intent.ProtectionEndpointIntent
 
 
- 
 @Immutable @Beta public class ProtectionEndpointIntent extends Intent Installable Intent for the ProtectionEndpoint (head/tail).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classProtectionEndpointIntent.BuilderBuilder forProtectionEndpointIntent.
 - 
Field Summary- 
Fields inherited from class org.onosproject.net.intent.IntentDEFAULT_INTENT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY
 
- 
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedProtectionEndpointIntent(ApplicationId appId, Key key, java.util.Collection<NetworkResource> resources, int priority, DeviceId deviceId, ProtectedTransportEndpointDescription description, ResourceGroup resourceGroup)Creates a ProtectionEndpointIntent by specific resource and description.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProtectionEndpointIntent.Builderbuilder()Returns a newProtectionEndpointIntentbuilder.ProtectedTransportEndpointDescriptiondescription()Returns the description of this protection endpoint.DeviceIddeviceId()Returns the identifier of the device to be configured.booleanisInstallable()Indicates whether or not the intent is installable.java.lang.StringtoString()- 
Methods inherited from class org.onosproject.net.intent.IntentappId, bindIdGenerator, equals, hashCode, id, key, priority, resourceGroup, resources, unbindIdGenerator
 
- 
 
- 
- 
- 
Constructor Detail- 
ProtectionEndpointIntentprotected ProtectionEndpointIntent(ApplicationId appId, Key key, java.util.Collection<NetworkResource> resources, int priority, DeviceId deviceId, ProtectedTransportEndpointDescription description, ResourceGroup resourceGroup) Creates a ProtectionEndpointIntent by specific resource and description.- Parameters:
- appId- application identification
- key- intent key
- resources- network resource to be set
- priority- priority to use for flows from this intent
- deviceId- target device id
- description- protected transport endpoint description of the intent
- resourceGroup- resource group for this intent
 
 
- 
 - 
Method Detail- 
deviceIdpublic DeviceId deviceId() Returns the identifier of the device to be configured.- Returns:
- the deviceId
 
 - 
descriptionpublic ProtectedTransportEndpointDescription description() Returns the description of this protection endpoint.- Returns:
- the description
 
 - 
isInstallablepublic boolean isInstallable() Description copied from class:IntentIndicates whether or not the intent is installable.- Overrides:
- isInstallablein class- Intent
- Returns:
- true if installable
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
builderpublic static ProtectionEndpointIntent.Builder builder() Returns a newProtectionEndpointIntentbuilder.- Returns:
- the builder
 
 
- 
 
-