Package org.onosproject.net.domain
Class DomainPointToPointIntent
- java.lang.Object
-
- org.onosproject.net.intent.Intent
-
- org.onosproject.net.domain.DomainIntent
-
- org.onosproject.net.domain.DomainPointToPointIntent
-
@Beta public class DomainPointToPointIntent extends DomainIntent
Representation of a point to point intent targeting a domain. It consists into an ingress and an egress filtered connection points and a set of links to represent the path.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDomainPointToPointIntent.BuilderBuilder of a point to point domain intent.
-
Field Summary
-
Fields inherited from class org.onosproject.net.intent.Intent
DEFAULT_INTENT_PRIORITY, MAX_PRIORITY, MIN_PRIORITY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDomainPointToPointIntent()Constructor for serializer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DomainPointToPointIntent.Builderbuilder()Returns a new point to point domain intent builder.List<Link>links()protected static Collection<NetworkResource>resources(Collection<Link> links)Produces a collection of network resources from the given links.StringtoString()-
Methods inherited from class org.onosproject.net.domain.DomainIntent
constraints, filteredEgressPoints, filteredIngressPoints, isInstallable, treatment
-
Methods inherited from class org.onosproject.net.intent.Intent
appId, bindIdGenerator, equals, hashCode, id, key, priority, resourceGroup, resources, unbindIdGenerator
-
-
-
-
Method Detail
-
builder
public static DomainPointToPointIntent.Builder builder()
Returns a new point to point domain intent builder. The application id, ingress point, egress point and domainId are required fields. If they are not set by calls to the appropriate methods, an exception will be thrown.- Returns:
- point to point builder
-
resources
protected static Collection<NetworkResource> resources(Collection<Link> links)
Produces a collection of network resources from the given links.- Parameters:
links- collection of links- Returns:
- collection of link resources
-
-