public interface HostProbingProviderService extends ProviderService<HostProbingProvider>
Modifier and Type | Method and 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.
|
provider
MacAddress addProbingHost(Host host, ConnectPoint connectPoint, ProbeMode probeMode, MacAddress probeMac, int retry)
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 timesvoid removeProbingHost(MacAddress probeMac)
probeMac
- the source MAC address ONOS uses to probe the host