| Package | Description |
|---|---|
| org.onosproject.net |
Network model entities & service API definitions.
|
| org.onosproject.net.device |
Infrastructure device model & related services API definitions.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultPort
Default port implementation.
|
| 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.
|
Copyright © 2015. All rights reserved.