3 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
5 * This program and the accompanying materials are made available under the
6 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 * and is available at http://www.eclipse.org/legal/epl-v10.html
10 package org.opendaylight.controller.hosttracker.hostAware;
12 import java.net.InetAddress;
15 * This Interface defines the methods to trigger the discovery of
16 * a Host and to probe if a learned Host is still in the network.
21 public interface IHostFinder {
23 * This method initiates the discovery of a host based on its IP address. This is triggered
24 * by query of an application to the HostTracker. The requested IP address
25 * doesn't exist in the local database at this point.
27 * @param networkAddress IP Address encapsulated in InetAddress class
30 public void find(InetAddress networkAddress);
33 * This method is called by HostTracker to see if a learned Host is still in the network.
34 * Used mostly for ARP Aging.
36 * @param host The Host that needs to be probed
38 public void probe(HostNodeConnector host);