public class VirtualNetworkDeviceManager extends org.onosproject.event.AbstractListenerManager<org.onosproject.net.device.DeviceEvent,org.onosproject.net.device.DeviceListener> implements org.onosproject.net.device.DeviceService, VnetService
| Constructor and Description |
|---|
VirtualNetworkDeviceManager(VirtualNetworkService virtualNetworkManager,
VirtualNetwork network)
Creates a new VirtualNetworkDeviceService object.
|
| Modifier and Type | Method and Description |
|---|---|
Iterable<org.onosproject.net.Device> |
getAvailableDevices() |
Iterable<org.onosproject.net.Device> |
getAvailableDevices(org.onosproject.net.Device.Type type) |
org.onosproject.net.device.PortStatistics |
getDeltaStatisticsForPort(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.PortNumber portNumber) |
org.onosproject.net.Device |
getDevice(org.onosproject.net.DeviceId deviceId) |
int |
getDeviceCount() |
Iterable<org.onosproject.net.Device> |
getDevices() |
Iterable<org.onosproject.net.Device> |
getDevices(org.onosproject.net.Device.Type type) |
org.onosproject.net.Port |
getPort(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.PortNumber portNumber) |
List<org.onosproject.net.device.PortStatistics> |
getPortDeltaStatistics(org.onosproject.net.DeviceId deviceId) |
List<org.onosproject.net.Port> |
getPorts(org.onosproject.net.DeviceId deviceId) |
List<org.onosproject.net.device.PortStatistics> |
getPortStatistics(org.onosproject.net.DeviceId deviceId) |
org.onosproject.net.MastershipRole |
getRole(org.onosproject.net.DeviceId deviceId) |
org.onosproject.net.device.PortStatistics |
getStatisticsForPort(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.PortNumber portNumber) |
boolean |
isAvailable(org.onosproject.net.DeviceId deviceId) |
VirtualNetwork |
network() |
addListener, bindEventDispatcher, post, removeListener, unbindEventDispatcherpublic VirtualNetworkDeviceManager(VirtualNetworkService virtualNetworkManager, VirtualNetwork network)
virtualNetworkManager - virtual network manager servicenetwork - virtual networkpublic int getDeviceCount()
getDeviceCount in interface org.onosproject.net.device.DeviceServicepublic Iterable<org.onosproject.net.Device> getDevices()
getDevices in interface org.onosproject.net.device.DeviceServicepublic Iterable<org.onosproject.net.Device> getDevices(org.onosproject.net.Device.Type type)
getDevices in interface org.onosproject.net.device.DeviceServicepublic Iterable<org.onosproject.net.Device> getAvailableDevices()
getAvailableDevices in interface org.onosproject.net.device.DeviceServicepublic Iterable<org.onosproject.net.Device> getAvailableDevices(org.onosproject.net.Device.Type type)
getAvailableDevices in interface org.onosproject.net.device.DeviceServicepublic org.onosproject.net.Device getDevice(org.onosproject.net.DeviceId deviceId)
getDevice in interface org.onosproject.net.device.DeviceServicepublic org.onosproject.net.MastershipRole getRole(org.onosproject.net.DeviceId deviceId)
getRole in interface org.onosproject.net.device.DeviceServicepublic List<org.onosproject.net.Port> getPorts(org.onosproject.net.DeviceId deviceId)
getPorts in interface org.onosproject.net.device.DeviceServicepublic List<org.onosproject.net.device.PortStatistics> getPortStatistics(org.onosproject.net.DeviceId deviceId)
getPortStatistics in interface org.onosproject.net.device.DeviceServicepublic List<org.onosproject.net.device.PortStatistics> getPortDeltaStatistics(org.onosproject.net.DeviceId deviceId)
getPortDeltaStatistics in interface org.onosproject.net.device.DeviceServicepublic org.onosproject.net.device.PortStatistics getStatisticsForPort(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.PortNumber portNumber)
getStatisticsForPort in interface org.onosproject.net.device.DeviceServicepublic org.onosproject.net.device.PortStatistics getDeltaStatisticsForPort(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.PortNumber portNumber)
getDeltaStatisticsForPort in interface org.onosproject.net.device.DeviceServicepublic org.onosproject.net.Port getPort(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.PortNumber portNumber)
getPort in interface org.onosproject.net.device.DeviceServicepublic boolean isAvailable(org.onosproject.net.DeviceId deviceId)
isAvailable in interface org.onosproject.net.device.DeviceServicepublic VirtualNetwork network()
network in interface VnetService