| Package | Description |
|---|---|
| org.onosproject.net |
Network model entities & service API definitions.
|
| org.onosproject.net.intent.constraint |
Definitions of constraints used to refine intent specifications.
|
| org.onosproject.net.link |
Infrastructure link model & related services API definitions.
|
| Modifier and Type | Method and Description |
|---|---|
Link.Type |
Link.type()
Returns the link type.
|
Link.Type |
DefaultLink.type() |
static Link.Type |
Link.Type.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Link.Type[] |
Link.Type.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Constructor and Description |
|---|
DefaultLink(ProviderId providerId,
ConnectPoint src,
ConnectPoint dst,
Link.Type type,
Annotations... annotations)
Creates an active infrastructure link using the supplied information.
|
DefaultLink(ProviderId providerId,
ConnectPoint src,
ConnectPoint dst,
Link.Type type,
Link.State state,
boolean isDurable,
Annotations... annotations)
Creates an infrastructure link using the supplied information.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Link.Type> |
LinkTypeConstraint.types()
Returns the set of link types.
|
| Constructor and Description |
|---|
LinkTypeConstraint(boolean inclusive,
Link.Type... types)
Creates a new constraint for requesting connectivity using or avoiding
the specified link types.
|
| Modifier and Type | Method and Description |
|---|---|
Link.Type |
LinkDescription.type()
Returns the link type.
|
Link.Type |
DefaultLinkDescription.type() |
| Constructor and Description |
|---|
DefaultLinkDescription(ConnectPoint src,
ConnectPoint dst,
Link.Type type,
SparseAnnotations... annotations)
Creates a link description using the supplied information.
|
Copyright © 2015. All rights reserved.