public final class DefaultVirtualDevice extends org.onosproject.net.DefaultDevice implements VirtualDevice
org.onosproject.net.DefaultDevice.DeviceDriverData| Constructor and Description |
|---|
DefaultVirtualDevice(NetworkId networkId,
org.onosproject.net.DeviceId id)
Creates a network element attributed to the specified provider.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
NetworkId |
networkId()
Returns the network identifier to which this virtual element belongs.
|
java.lang.String |
toString() |
as, asData, chassisId, hwVersion, id, locateDriver, manufacturer, serialNumber, swVersion, typebindAndCheckDriver, bindDriver, driver, driverService, is, setDriverServiceclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic DefaultVirtualDevice(NetworkId networkId, org.onosproject.net.DeviceId id)
networkId - network identifierid - device identifierpublic NetworkId networkId()
VirtualElementnetworkId in interface VirtualElementpublic int hashCode()
hashCode in class org.onosproject.net.DefaultDevicepublic boolean equals(java.lang.Object obj)
equals in class org.onosproject.net.DefaultDevicepublic java.lang.String toString()
toString in class org.onosproject.net.DefaultDevice