public final class DefaultVirtualHost extends DefaultHost implements VirtualHost
AbstractProjectableModel.AnnotationDriverDataidNO_DRIVER, NO_DRIVER_SERVICE| Constructor and Description |
|---|
DefaultVirtualHost(NetworkId networkId,
HostId id,
org.onlab.packet.MacAddress mac,
org.onlab.packet.VlanId vlan,
HostLocation location,
Set<org.onlab.packet.IpAddress> ips)
Creates a virtual host attributed to the specified provider.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
NetworkId |
networkId()
Returns the network identifier to which this virtual element belongs.
|
String |
toString() |
configured, id, ipAddresses, location, mac, vlanas, asData, bindAndCheckDriver, bindDriver, driver, driverService, is, locateDriver, setDriverServiceproviderIdannotationsclone, finalize, getClass, notify, notifyAll, wait, wait, waitconfigured, id, ipAddresses, location, mac, vlanannotationsproviderIdas, ispublic DefaultVirtualHost(NetworkId networkId, HostId id, org.onlab.packet.MacAddress mac, org.onlab.packet.VlanId vlan, HostLocation location, Set<org.onlab.packet.IpAddress> ips)
networkId - network identifierid - host identifiermac - host MAC addressvlan - host VLAN identifierlocation - host locationips - host IP addressespublic NetworkId networkId()
VirtualElementnetworkId in interface VirtualElementpublic int hashCode()
hashCode in class DefaultHostpublic boolean equals(Object obj)
equals in class DefaultHostpublic String toString()
toString in class DefaultHost