Which feature to be installed in helium-karaf to access host tracker

asked 2014-11-17 02:38:11 -0800

bhargavi gravatar image

Please guide us on which features installation in Karaf, in order to access the Host Tracker information of the controller.

We are trying to access HostTracker through the packages as follow: org.opendaylight.controller.hosttracker.IfIptoHost; org.opendaylight.controller.hosttracker.hostAware.HostNodeConnector;

But while running Karaf, we are not able to see any Host information in our Rest API. We've installed "l2Switch-all", "Adsal-all", "odl-restconf" and "Adsal-Compability" features, still we are not able to see any active hosts in our rest api.

And also the error received while trying to access Host Tracker is :

2014-11-17 15:16:19,474 | WARN | -notification-43 | ToSalConversionsUtils | 271 - org.opendaylight.controller.sal-compatibility - 1.1.0.Helium | nodeConnector creation failed at node: OF|00:00:00:00:00:00:00:02 with nodeConnectorUri: OF:2:CONTROLLER 2014-11-17 15:16:19,474 | WARN | -notification-43 | ToSalConversionsUtils | 271 - org.opendaylight.controller.sal-compatibility - 1.1.0.Helium | nodeConnector creation failed at node: OF|00:00:00:00:00:00:00:02 with nodeConnectorUri: OF:2:CONTROLLER 2014-11-17 15:16:49,612 | WARN | -notification-31 | ToSalConversionsUtils | 271 - org.opendaylight.controller.sal-compatibility - 1.1.0.Helium | nodeConnector creation failed at node: OF|00:00:00:00:00:00:00:03 with nodeConnectorUri: OF:3:CONTROLLER 2014-11-17 15:16:49,612 | WARN | -notification-31 | ToSalConversionsUtils | 271 - org.opendaylight.controller.sal-compatibility - 1.1.0.Helium | nodeConnector creation failed at node: OF|00:00:00:00:00:00:00:03 with nodeConnectorUri: OF:3:CONTROLLER 2014-11-17 15:17:19,749 | WARN | -notification-57 | ToSalConversionsUtils | 271 - org.opendaylight.controller.sal-compatibility - 1.1.0.Helium | nodeConnector creation failed at node: OF|00:00:00:00:00:00:00:01 with nodeConnectorUri: OF:1:CONTROLLER 2014-11-17 15:17:19,749 | WARN | -notification-57 | ToSalConversionsUtils | 271 - org.opendaylight.controller.sal-compatibility - 1.1.0.Helium | nodeConnector creation failed at node: OF|00:00:00:00:00:00:00:01 with nodeConnectorUri: OF:1:CONTROLLER 2014-11-17 15:17:49,893 | WARN | -notification-28 | ToSalConversionsUtils | 271 - org.opendaylight.controller.sal-compatibility - 1.1.0.Helium | nodeConnector creation failed at node: OF|00:00:00:00:00:00:00:02 with nodeConnectorUri: OF:2:CONTROLLER 2014-11-17 15:17:49,893 | WARN | -notification-28 | ToSalConversionsUtils | 271 - org.opendaylight.controller.sal-compatibility - 1.1.0.Helium | nodeConnector creation failed at node: OF|00:00:00:00:00:00:00:02 with nodeConnectorUri: OF:2:CONTROLLER

edit retag flag offensive close merge delete

Comments

Hi Bhargavi, about which hosttracker are you talking about??? because if you want the information about hosts in md-sal you can use l2switch and its feature. Regards, Ashwini Mhatre

Ashwini_Mhatre ( 2015-01-13 22:49:12 -0800 )edit

Usually you can only see the hosts on REST API when Arp packets are exchanged. That will make the controller to know about those hosts by the HostTracker module. Check the config that can be made to l2switch modules here: https://wiki.opendaylight.org/view/L2_Switch:Helium:User_Guide#Configuration_of_L2Switch_Components

Nuno ( 2015-03-04 07:47:11 -0800 )edit