public final class DefaultVirtualHost extends DefaultHost implements VirtualHost
AbstractProjectableModel.AnnotationDriverDataidNO_DRIVER, NO_DRIVER_SERVICE| Constructor and Description |
|---|
DefaultVirtualHost(NetworkId networkId,
HostId id,
MacAddress mac,
VlanId vlan,
HostLocation location,
java.util.Set<IpAddress> ips)
Creates a virtual host attributed to the specified provider.
|
DefaultVirtualHost(NetworkId networkId,
HostId id,
MacAddress mac,
VlanId vlan,
java.util.Set<HostLocation> locations,
java.util.Set<IpAddress> ips)
Creates a virtual host 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() |
configured, id, ipAddresses, location, locations, mac, vlanas, asData, bindAndCheckDriver, bindDriver, driver, driverService, is, locateDriver, setDriverServiceproviderIdannotationsclone, finalize, getClass, notify, notifyAll, wait, wait, waitconfigured, id, ipAddresses, location, locations, mac, vlanannotationsproviderIdas, is, projectpublic DefaultVirtualHost(NetworkId networkId, HostId id, MacAddress mac, VlanId vlan, HostLocation location, java.util.Set<IpAddress> ips)
networkId - network identifierid - host identifiermac - host MAC addressvlan - host VLAN identifierlocation - host locationips - host IP addressespublic DefaultVirtualHost(NetworkId networkId, HostId id, MacAddress mac, VlanId vlan, java.util.Set<HostLocation> locations, java.util.Set<IpAddress> ips)
networkId - network identifierid - host identifiermac - host MAC addressvlan - host VLAN identifierlocations - host locationsips - host IP addressespublic NetworkId networkId()
VirtualElementnetworkId in interface VirtualElementpublic int hashCode()
hashCode in class DefaultHostpublic boolean equals(java.lang.Object obj)
equals in class DefaultHostpublic java.lang.String toString()
toString in class DefaultHost