public class VirtualNetworkDeviceManager extends AbstractVirtualListenerManager<org.onosproject.net.device.DeviceEvent,org.onosproject.net.device.DeviceListener> implements org.onosproject.net.device.DeviceService
eventDispatcher, manager, networkId, serviceDirectory| Constructor and Description |
|---|
VirtualNetworkDeviceManager(VirtualNetworkService virtualNetworkManager,
NetworkId networkId)
Creates a new VirtualNetworkDeviceService object.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Iterable<org.onosproject.net.Device> |
getAvailableDevices() |
java.lang.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() |
java.lang.Iterable<org.onosproject.net.Device> |
getDevices() |
java.lang.Iterable<org.onosproject.net.Device> |
getDevices(org.onosproject.net.Device.Type type) |
long |
getLastUpdatedInstant(org.onosproject.net.DeviceId deviceId) |
org.onosproject.net.Port |
getPort(org.onosproject.net.DeviceId deviceId,
org.onosproject.net.PortNumber portNumber) |
java.util.List<org.onosproject.net.device.PortStatistics> |
getPortDeltaStatistics(org.onosproject.net.DeviceId deviceId) |
java.util.List<org.onosproject.net.Port> |
getPorts(org.onosproject.net.DeviceId deviceId) |
java.util.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) |
java.lang.String |
localStatus(org.onosproject.net.DeviceId deviceId) |
addListener, networkId, post, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic VirtualNetworkDeviceManager(VirtualNetworkService virtualNetworkManager, NetworkId networkId)
virtualNetworkManager - virtual network manager servicenetworkId - a virtual network identifierpublic int getDeviceCount()
getDeviceCount in interface org.onosproject.net.device.DeviceServicepublic java.lang.Iterable<org.onosproject.net.Device> getDevices()
getDevices in interface org.onosproject.net.device.DeviceServicepublic java.lang.Iterable<org.onosproject.net.Device> getDevices(org.onosproject.net.Device.Type type)
getDevices in interface org.onosproject.net.device.DeviceServicepublic java.lang.Iterable<org.onosproject.net.Device> getAvailableDevices()
getAvailableDevices in interface org.onosproject.net.device.DeviceServicepublic java.lang.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 java.util.List<org.onosproject.net.Port> getPorts(org.onosproject.net.DeviceId deviceId)
getPorts in interface org.onosproject.net.device.DeviceServicepublic java.util.List<org.onosproject.net.device.PortStatistics> getPortStatistics(org.onosproject.net.DeviceId deviceId)
getPortStatistics in interface org.onosproject.net.device.DeviceServicepublic java.util.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 java.lang.String localStatus(org.onosproject.net.DeviceId deviceId)
localStatus in interface org.onosproject.net.device.DeviceServicepublic long getLastUpdatedInstant(org.onosproject.net.DeviceId deviceId)
getLastUpdatedInstant in interface org.onosproject.net.device.DeviceService