Interface HostProbingProviderService

    • 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 probed
        connectPoint - the connect point that is under verification
        probeMode - probe mode
        probeMac - probeMac if this is a retry. Null if this is the very first probe and the probeMac is to-be-generated
        retry - 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