| Package | Description |
|---|---|
| org.onosproject.core |
ONOS Core API definitions.
|
| 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.provider |
Base abstractions related to network entity providers and their brokers.
|
| org.onosproject.net.topology |
Network topology model & related services API definitions.
|
| Modifier and Type | Field and Description |
|---|---|
static ProviderId |
CoreService.CORE_PROVIDER_ID |
| Modifier and Type | Method and Description |
|---|---|
ProviderId |
Provided.providerId()
Returns the identifier of the provider which supplied the entity.
|
ProviderId |
AbstractModel.providerId() |
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
DeviceEvent |
DeviceStore.createOrUpdateDevice(ProviderId providerId,
DeviceId deviceId,
DeviceDescription deviceDescription)
Creates a new infrastructure device, or updates an existing one using
the supplied device description.
|
List<DeviceEvent> |
DeviceStore.updatePorts(ProviderId providerId,
DeviceId deviceId,
List<PortDescription> portDescriptions)
Updates the ports of the specified infrastructure device using the given
list of port descriptions.
|
DeviceEvent |
DeviceStore.updatePortStatus(ProviderId providerId,
DeviceId deviceId,
PortDescription portDescription)
Updates the port status of the specified infrastructure device using the
given port description.
|
| Modifier and Type | Method and Description |
|---|---|
HostEvent |
HostStore.createOrUpdateHost(ProviderId providerId,
HostId hostId,
HostDescription hostDescription)
Creates a new host or updates the existing one based on the specified
description.
|
| Modifier and Type | Method and Description |
|---|---|
LinkEvent |
LinkStore.createOrUpdateLink(ProviderId providerId,
LinkDescription linkDescription)
Creates a new link, or updates an existing one, based on the given
information.
|
| Modifier and Type | Field and Description |
|---|---|
static ProviderId |
ProviderId.NONE
Represents no provider ID.
|
| Modifier and Type | Method and Description |
|---|---|
ProviderId |
Provider.id()
Returns the provider identifier.
|
ProviderId |
AbstractProvider.id() |
| Modifier and Type | Method and Description |
|---|---|
Set<ProviderId> |
ProviderRegistry.getProviders()
Returns a set of currently registered provider identities.
|
Set<ProviderId> |
AbstractProviderRegistry.getProviders() |
| Modifier and Type | Method and Description |
|---|---|
protected P |
AbstractProviderRegistry.getProvider(ProviderId providerId)
Returns the provider registered with the specified provider ID.
|
| Constructor and Description |
|---|
AbstractProvider(ProviderId id)
Creates a provider with the supplier identifier.
|
| Modifier and Type | Method and Description |
|---|---|
TopologyEvent |
TopologyStore.updateTopology(ProviderId providerId,
GraphDescription graphDescription,
List<Event> reasons)
Generates a new topology snapshot from the specified description.
|
Copyright © 2015. All rights reserved.