public interface IfIptoHost
| Modifier and Type | Method and Description |
|---|---|
org.opendaylight.controller.sal.utils.Status |
addStaticHost(String networkAddress,
String dataLayerAddress,
org.opendaylight.controller.sal.core.NodeConnector nc,
String vlan)
Hosts can be learned dynamically or added statically.
|
Future<HostNodeConnector> |
discoverHost(InetAddress networkAddress)
Initiates an immediate discovery of the Host for a given IP address.
|
Set<HostNodeConnector> |
getActiveStaticHosts()
Returns all the "Active Hosts" learned "Statically" via Northbound APIs.
|
Set<HostNodeConnector> |
getAllHosts()
Returns all the the Hosts either learned dynamically or added statically
via Northbound APIs.
|
List<List<String>> |
getHostNetworkHierarchy(InetAddress hostAddress)
Returns the Network Hierarchy for a given Host.
|
Set<HostNodeConnector> |
getInactiveStaticHosts()
Returns all the "Inactive Hosts" learned "Statically" via Northbound
APIs.
|
HostNodeConnector |
hostFind(InetAddress networkAddress)
Applications call this interface methods to determine IP address to MAC
binding and its connectivity to an OpenFlow switch in term of Node, Port,
and VLAN.
|
HostNodeConnector |
hostQuery(InetAddress networkAddress)
Checks the local Host Database to see if a Host has been learned for a
given IP address.
|
org.opendaylight.controller.sal.utils.Status |
removeStaticHost(String networkAddress)
Allows the deletion of statically learned Host
|
HostNodeConnector hostFind(InetAddress networkAddress)
networkAddress - IP Address of the Host encapsulated in class InetAddressHostNodeConnector
Class that contains the Host info such as its MAC address, Switch
ID, port, VLAN. If Host is not found, returns NULLHostNodeConnector hostQuery(InetAddress networkAddress)
networkAddress - IP Address of the Host encapsulated in class InetAddressHostNodeConnector
Class that contains the Host info such as its MAC address, Switch
ID, port, VLAN. If Host is not found, returns NULLFuture<HostNodeConnector> discoverHost(InetAddress networkAddress)
networkAddress - IP address encapsulated in InetAddress classorg.opendaylight.controller.hosttracker.HostTrackerCallableList<List<String>> getHostNetworkHierarchy(InetAddress hostAddress)
IP - address of the Host encapsulated in InetAddress classSet<HostNodeConnector> getAllHosts()
HostNodeConnector
. Class that contains the Host info such as its MAC address,
Switch ID, port, VLAN.Set<HostNodeConnector> getActiveStaticHosts()
HostNodeConnector
. Class that contains the Host info such as MAC address, Switch
ID, port, VLAN. If Host is not found, returns NULLSet<HostNodeConnector> getInactiveStaticHosts()
HostNodeConnector
. HostNodeConnector is Class that contains the Host info such as
its MAC address, OpenFlowNode ID, port, VLAN.org.opendaylight.controller.sal.utils.Status addStaticHost(String networkAddress, String dataLayerAddress, org.opendaylight.controller.sal.core.NodeConnector nc, String vlan)
networkAddress - IP Address of the HostdataLayerAddress - MAC Address of the Hostnc - NodeConnector to which the host is attachedvlan - VLAN the host belongs toStatus indicating the
result of this action.org.opendaylight.controller.sal.utils.Status removeStaticHost(String networkAddress)
networkAddress - Status indicating the
result of this action.Copyright © 2015. All Rights Reserved.