| Package | Description |
|---|---|
| org.onosproject.net |
Network model entities & service API definitions.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
SparseAnnotations
Represents an set of sparse key/value string annotations capable of carrying
annotation keys tagged for removal.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultAnnotations
Represents a set of simple annotations that can be used to add arbitrary
attributes to various parts of the data model.
|
| Modifier and Type | Method and Description |
|---|---|
Annotations |
Annotated.annotations()
Returns the key/value annotations.
|
Annotations |
AbstractAnnotated.annotations() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
AnnotationsUtil.isEqual(Annotations lhs,
Annotations rhs) |
| Constructor and Description |
|---|
AbstractAnnotated(Annotations... annotations)
Creates a new entity, annotated with the specified annotations.
|
AbstractElement(ProviderId providerId,
ElementId id,
Annotations... annotations)
Creates a network element attributed to the specified provider.
|
AbstractModel(ProviderId providerId,
Annotations... annotations)
Creates a model entity attributed to the specified provider and
optionally annotated.
|
DefaultDevice(ProviderId providerId,
DeviceId id,
Device.Type type,
String manufacturer,
String hwVersion,
String swVersion,
String serialNumber,
org.onlab.packet.ChassisId chassisId,
Annotations... annotations)
Creates a network element attributed to the specified provider.
|
DefaultEdgeLink(ProviderId providerId,
ConnectPoint hostPoint,
HostLocation hostLocation,
boolean isIngress,
Annotations... annotations)
Creates an edge link using the supplied information.
|
DefaultHost(ProviderId providerId,
HostId id,
org.onlab.packet.MacAddress mac,
org.onlab.packet.VlanId vlan,
HostLocation location,
Set<org.onlab.packet.IpAddress> ips,
Annotations... annotations)
Creates an end-station host using the supplied information.
|
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.
|
DefaultPath(ProviderId providerId,
List<Link> links,
double cost,
Annotations... annotations)
Creates a path from the specified source and destination using the
supplied list of links.
|
DefaultPort(Element element,
PortNumber number,
boolean isEnabled,
Annotations... annotations)
Creates a network element attributed to the specified provider.
|
DefaultPort(Element element,
PortNumber number,
boolean isEnabled,
Port.Type type,
long portSpeed,
Annotations... annotations)
Creates a network element attributed to the specified provider.
|
Copyright © 2015. All rights reserved.