id| Constructor and Description |
|---|
DefaultHost(ProviderId providerId,
HostId id,
org.onlab.packet.MacAddress mac,
org.onlab.packet.VlanId vlan,
HostLocation location,
Set<org.onlab.packet.IpAddress> ips,
Annotations... annotations)
Creates an end-station host using the supplied information.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
HostId |
id()
Host identification.
|
Set<org.onlab.packet.IpAddress> |
ipAddresses()
Returns set of IP addresses currently bound to the host MAC address.
|
HostLocation |
location()
Returns the most recent host location where the host attaches to the
network edge.
|
org.onlab.packet.MacAddress |
mac()
Returns the host MAC address.
|
String |
toString() |
org.onlab.packet.VlanId |
vlan()
Returns the VLAN ID tied to this host.
|
providerIdannotationsclone, finalize, getClass, notify, notifyAll, wait, wait, waitannotationsproviderIdpublic DefaultHost(ProviderId providerId, HostId id, org.onlab.packet.MacAddress mac, org.onlab.packet.VlanId vlan, HostLocation location, Set<org.onlab.packet.IpAddress> ips, Annotations... annotations)
providerId - provider identityid - host identifiermac - host MAC addressvlan - host VLAN identifierlocation - host locationips - host IP addressesannotations - optional key/value annotationspublic org.onlab.packet.MacAddress mac()
Hostpublic Set<org.onlab.packet.IpAddress> ipAddresses()
HostipAddresses in interface Hostpublic HostLocation location()
Hostpublic org.onlab.packet.VlanId vlan()
HostCopyright © 2015. All rights reserved.