| Package | Description |
|---|---|
| org.onosproject.net |
Network model entities & service API definitions.
|
| org.onosproject.net.device |
Infrastructure device model & related services API definitions.
|
| org.onosproject.net.host |
End-station host model & related services API definitions.
|
| org.onosproject.net.link |
Infrastructure link model & related services API definitions.
|
| org.onosproject.net.topology |
Network topology model & related services API definitions.
|
| 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 |
|---|---|
SparseAnnotations |
Description.annotations() |
SparseAnnotations |
AbstractDescription.annotations() |
static SparseAnnotations |
DefaultAnnotations.union(SparseAnnotations annotations,
SparseAnnotations sparseAnnotations)
Creates the union of two given SparseAnnotations.
|
| Modifier and Type | Method and Description |
|---|---|
static DefaultAnnotations |
DefaultAnnotations.merge(DefaultAnnotations annotations,
SparseAnnotations sparseAnnotations)
Merges the specified base set of annotations and additional sparse
annotations into new combined annotations.
|
static SparseAnnotations |
DefaultAnnotations.union(SparseAnnotations annotations,
SparseAnnotations sparseAnnotations)
Creates the union of two given SparseAnnotations.
|
| Constructor and Description |
|---|
AbstractDescription(SparseAnnotations... annotations)
Creates a new entity, annotated with the specified annotations.
|
| Constructor and Description |
|---|
DefaultDeviceDescription(DeviceDescription base,
SparseAnnotations... annotations)
Creates a device description using the supplied information.
|
DefaultDeviceDescription(URI uri,
Device.Type type,
String manufacturer,
String hwVersion,
String swVersion,
String serialNumber,
org.onlab.packet.ChassisId chassis,
SparseAnnotations... annotations)
Creates a device description using the supplied information.
|
DefaultPortDescription(PortDescription base,
SparseAnnotations annotations)
Creates a port description using the supplied information.
|
DefaultPortDescription(PortNumber number,
boolean isEnabled,
Port.Type type,
long portSpeed,
SparseAnnotations... annotations)
Creates a port description using the supplied information.
|
DefaultPortDescription(PortNumber number,
boolean isEnabled,
SparseAnnotations... annotations)
Creates a port description using the supplied information.
|
| Constructor and Description |
|---|
DefaultHostDescription(org.onlab.packet.MacAddress mac,
org.onlab.packet.VlanId vlan,
HostLocation location,
org.onlab.packet.IpAddress ip,
SparseAnnotations... annotations)
Creates a host description using the supplied information.
|
DefaultHostDescription(org.onlab.packet.MacAddress mac,
org.onlab.packet.VlanId vlan,
HostLocation location,
Set<org.onlab.packet.IpAddress> ip,
SparseAnnotations... annotations)
Creates a host description using the supplied information.
|
DefaultHostDescription(org.onlab.packet.MacAddress mac,
org.onlab.packet.VlanId vlan,
HostLocation location,
SparseAnnotations... annotations)
Creates a host description using the supplied information.
|
| Constructor and Description |
|---|
DefaultLinkDescription(ConnectPoint src,
ConnectPoint dst,
Link.Type type,
SparseAnnotations... annotations)
Creates a link description using the supplied information.
|
| Constructor and Description |
|---|
DefaultGraphDescription(long nanos,
Iterable<Device> devices,
Iterable<Link> links,
SparseAnnotations... annotations)
Creates a minimal topology graph description to allow core to construct
and process the topology graph.
|
Copyright © 2015. All rights reserved.