public final class DefaultVirtualHost extends DefaultHost implements VirtualHost
AbstractProjectableModel.AnnotationDriverData
id
NO_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, vlan
as, asData, bindAndCheckDriver, bindDriver, driver, driverService, is, locateDriver, setDriverService
providerId
annotations
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
configured, id, ipAddresses, location, locations, mac, vlan
annotations
providerId
as, is, project
public 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()
VirtualElement
networkId
in interface VirtualElement
public int hashCode()
hashCode
in class DefaultHost
public boolean equals(java.lang.Object obj)
equals
in class DefaultHost
public java.lang.String toString()
toString
in class DefaultHost