public class DefaultHostDescription extends AbstractDescription implements HostDescription
| Constructor and Description | 
|---|
DefaultHostDescription(MacAddress mac,
                      VlanId vlan,
                      HostLocation location,
                      boolean configured,
                      SparseAnnotations... annotations)
Creates a host description using the supplied information. 
 | 
DefaultHostDescription(MacAddress mac,
                      VlanId vlan,
                      HostLocation location,
                      IpAddress ip,
                      SparseAnnotations... annotations)
Creates a host description using the supplied information. 
 | 
DefaultHostDescription(MacAddress mac,
                      VlanId vlan,
                      HostLocation location,
                      java.util.Set<IpAddress> ip,
                      boolean configured,
                      SparseAnnotations... annotations)
Creates a host description using the supplied information. 
 | 
DefaultHostDescription(MacAddress mac,
                      VlanId vlan,
                      HostLocation location,
                      java.util.Set<IpAddress> ip,
                      SparseAnnotations... annotations)
Creates a host description using the supplied information. 
 | 
DefaultHostDescription(MacAddress mac,
                      VlanId vlan,
                      HostLocation location,
                      SparseAnnotations... annotations)
Creates a host description using the supplied information. 
 | 
DefaultHostDescription(MacAddress mac,
                      VlanId vlan,
                      java.util.Set<HostLocation> locations,
                      java.util.Set<IpAddress> ip,
                      boolean configured,
                      SparseAnnotations... annotations)
Creates a host description using the supplied information. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
configured()
Returns true if configured by NetworkConfiguration. 
 | 
boolean | 
equals(java.lang.Object object)  | 
int | 
hashCode()  | 
MacAddress | 
hwAddress()
Returns the MAC address associated with this host (NIC). 
 | 
java.util.Set<IpAddress> | 
ipAddress()
Returns the IP address associated with this host's MAC. 
 | 
HostLocation | 
location()
Returns the most recent location of the host on the network edge. 
 | 
java.util.Set<HostLocation> | 
locations()
Returns all locations of the host on the network edge. 
 | 
java.lang.String | 
toString()  | 
VlanId | 
vlan()
Returns the VLAN associated with this host. 
 | 
annotationsclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotationspublic DefaultHostDescription(MacAddress mac, VlanId vlan, HostLocation location, SparseAnnotations... annotations)
mac - host MAC addressvlan - host VLAN identifierlocation - host locationannotations - optional key/value annotations mappublic DefaultHostDescription(MacAddress mac, VlanId vlan, HostLocation location, IpAddress ip, SparseAnnotations... annotations)
mac - host MAC addressvlan - host VLAN identifierlocation - host locationip - host IP addressannotations - optional key/value annotations mappublic DefaultHostDescription(MacAddress mac, VlanId vlan, HostLocation location, java.util.Set<IpAddress> ip, SparseAnnotations... annotations)
mac - host MAC addressvlan - host VLAN identifierlocation - host locationip - host IP addressesannotations - optional key/value annotations mappublic DefaultHostDescription(MacAddress mac, VlanId vlan, HostLocation location, boolean configured, SparseAnnotations... annotations)
mac - host MAC addressvlan - host VLAN identifierlocation - host locationconfigured - true if configured via NetworkConfigurationannotations - optional key/value annotations mappublic DefaultHostDescription(MacAddress mac, VlanId vlan, HostLocation location, java.util.Set<IpAddress> ip, boolean configured, SparseAnnotations... annotations)
mac - host MAC addressvlan - host VLAN identifierlocation - host locationip - host IP addressconfigured - true if configured via NetworkConfigurationannotations - optional key/value annotations mappublic DefaultHostDescription(MacAddress mac, VlanId vlan, java.util.Set<HostLocation> locations, java.util.Set<IpAddress> ip, boolean configured, SparseAnnotations... annotations)
mac - host MAC addressvlan - host VLAN identifierlocations - host locationsip - host IP addressconfigured - true if configured via NetworkConfigurationannotations - optional key/value annotations mappublic MacAddress hwAddress()
HostDescriptionhwAddress in interface HostDescriptionpublic VlanId vlan()
HostDescriptionvlan in interface HostDescriptionpublic HostLocation location()
HostDescriptionlocation in interface HostDescriptionpublic java.util.Set<HostLocation> locations()
HostDescriptionlocations in interface HostDescriptionpublic java.util.Set<IpAddress> ipAddress()
HostDescriptionipAddress in interface HostDescriptionpublic boolean configured()
HostDescriptionconfigured in interface HostDescriptionpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class AbstractDescriptionpublic boolean equals(java.lang.Object object)
equals in class AbstractDescription