public interface HostProviderService extends ProviderService<HostProvider>
| Modifier and Type | Method and Description |
|---|---|
void |
hostDetected(HostId hostId,
HostDescription hostDescription,
boolean replaceIps)
Notifies the core when a host has been detected on a network along with
information that identifies the host location.
|
void |
hostVanished(HostId hostId)
Notifies the core when a host is no longer detected on a network.
|
void |
removeIpFromHost(HostId hostId,
org.onlab.packet.IpAddress ipAddress)
Notifies the core when an IP is no longer associated with a host.
|
providervoid hostDetected(HostId hostId, HostDescription hostDescription, boolean replaceIps)
hostId - id of the host that been detectedhostDescription - description of host and its locationreplaceIps - replace IP set if true, merge IP set otherwisevoid hostVanished(HostId hostId)
hostId - id of the host that vanishedvoid removeIpFromHost(HostId hostId, org.onlab.packet.IpAddress ipAddress)
hostId - id of the hostipAddress - ip address of host that vanished