public final class DefaultVirtualHost extends org.onosproject.net.DefaultHost implements VirtualHost
| Constructor and Description |
|---|
DefaultVirtualHost(NetworkId networkId,
org.onosproject.net.HostId id,
org.onlab.packet.MacAddress mac,
org.onlab.packet.VlanId vlan,
org.onosproject.net.HostLocation location,
Set<org.onlab.packet.IpAddress> ips)
Creates a virtual host attributed to the specified provider.
|
DefaultVirtualHost(NetworkId networkId,
org.onosproject.net.HostId id,
org.onlab.packet.MacAddress mac,
org.onlab.packet.VlanId vlan,
Set<org.onosproject.net.HostLocation> locations,
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, locations, mac, vlanas, asData, bindAndCheckDriver, bindDriver, driver, driverService, is, locateDriver, setDriverServiceclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic DefaultVirtualHost(NetworkId networkId, org.onosproject.net.HostId id, org.onlab.packet.MacAddress mac, org.onlab.packet.VlanId vlan, org.onosproject.net.HostLocation location, Set<org.onlab.packet.IpAddress> ips)
networkId - network identifierid - host identifiermac - host MAC addressvlan - host VLAN identifierlocation - host locationips - host IP addressespublic DefaultVirtualHost(NetworkId networkId, org.onosproject.net.HostId id, org.onlab.packet.MacAddress mac, org.onlab.packet.VlanId vlan, Set<org.onosproject.net.HostLocation> locations, Set<org.onlab.packet.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 org.onosproject.net.DefaultHostpublic boolean equals(Object obj)
equals in class org.onosproject.net.DefaultHostpublic String toString()
toString in class org.onosproject.net.DefaultHost