Package org.onosproject.net.host
Interface HostProbingProviderService
-
- All Superinterfaces:
ProviderService<HostProbingProvider>
public interface HostProbingProviderService extends ProviderService<HostProbingProvider>
Means of conveying host probing information to the core.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MacAddress
addProbingHost(Host host, ConnectPoint connectPoint, ProbeMode probeMode, MacAddress probeMac, int retry)
Notifies HostProbeStore the beginning of pending host location verification and retrieves the unique MAC address for the probe.void
removeProbingHost(MacAddress probeMac)
Notifies HostProbeStore the end of pending host location verification.-
Methods inherited from interface org.onosproject.net.provider.ProviderService
provider
-
-
-
-
Method Detail
-
addProbingHost
MacAddress addProbingHost(Host host, ConnectPoint connectPoint, ProbeMode probeMode, MacAddress probeMac, int retry)
Notifies HostProbeStore the beginning of pending host location verification and retrieves the unique MAC address for the probe.- Parameters:
host
- host to be probedconnectPoint
- the connect point that is under verificationprobeMode
- probe modeprobeMac
- probeMac if this is a retry. Null if this is the very first probe and the probeMac is to-be-generatedretry
- max retry times- Returns:
- probeMac, the source MAC address ONOS uses to probe the host
-
removeProbingHost
void removeProbingHost(MacAddress probeMac)
Notifies HostProbeStore the end of pending host location verification.- Parameters:
probeMac
- the source MAC address ONOS uses to probe the host
-
-