| 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.resource.device |
Services for reserving devices as network resources.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultPort
Default port implementation.
|
class |
OchPort
Implementation of OCh port (Optical Channel).
|
class |
OduCltPort
Implementation of ODU client port (Optical channel Data Unit).
|
class |
OmsPort
Implementation of OMS port (Optical Multiplexing Section).
|
| Modifier and Type | Method and Description |
|---|---|
Port |
DeviceStore.getPort(DeviceId deviceId,
PortNumber portNumber)
Returns the specified device port.
|
Port |
DeviceService.getPort(DeviceId deviceId,
PortNumber portNumber)
Returns the port with the specified number and hosted by the given device.
|
Port |
DeviceEvent.port()
Returns the port subject.
|
| Modifier and Type | Method and Description |
|---|---|
List<Port> |
DeviceStore.getPorts(DeviceId deviceId)
Returns the list of ports that belong to the specified device.
|
List<Port> |
DeviceService.getPorts(DeviceId deviceId)
Returns the list of ports associated with the device.
|
| Constructor and Description |
|---|
DeviceEvent(DeviceEvent.Type type,
Device device,
Port port)
Creates an event of a given type and for the specified device, port
and the current time.
|
DeviceEvent(DeviceEvent.Type type,
Device device,
Port port,
long time)
Creates an event of a given type and for the specified device and time.
|
| Modifier and Type | Method and Description |
|---|---|
Set<Port> |
DeviceResourceStore.getAllocations(IntentId intentId)
Returns set of ports allocated for an intent.
|
Set<Port> |
DeviceResourceService.getAllocations(IntentId intentId)
Returns the set of ports allocated for an intent.
|
Set<Port> |
DeviceResourceStore.getFreePorts(DeviceId deviceId)
Returns unallocated ports on the given device.
|
| Modifier and Type | Method and Description |
|---|---|
IntentId |
DeviceResourceStore.getAllocations(Port port)
Returns intent allocated to a port.
|
IntentId |
DeviceResourceService.getAllocations(Port port)
Returns the intent allocated to a port.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DeviceResourceStore.allocatePorts(Set<Port> ports,
IntentId intentId)
Allocates the given ports to the given intent.
|
boolean |
DeviceResourceService.requestPorts(Set<Port> ports,
Intent intent)
Request a set of ports needed to satisfy the intent.
|
Copyright © 2015. All rights reserved.