Ask Your Question
1

host tracking

asked 2014-05-07 09:01:19 -0700

tiengomatteo gravatar image

updated 2014-05-07 10:29:37 -0700

Hi there, Im using openstack to create instances and ODL to to manage the virtual switches. Everything works fine (the vm exists, gets a correct ip address, can be pinged, and has access to the internet). ODL sees all the vSwitches and also the virtual port the vm is attached to. I'm now trying to use the HostTracker REST API but when i ask for the list of active hosts it replies with nothing. Also trying to get the vm by ip address (both private and floating public ip) i get the "Host does not exist" message. Can you help me understand what mistake im making?

EDIT: thanks evanz for the reply, my ODL configuration was the default one (so each OF vswitches will behave as classical L2 switches) now i added a rule to the switch my vm is attached to, telling to redirect all the ARP traffic (ethertype 0x0806) to controller. Still no changes though... Can you please clearify what do you mean by "use the subnet configuration in the ODL UI." The subnet concept is still unclear to me...

Thanks in advance

EDIT2: Ok, now it works, it was just a matter of time.... No need to set the subnet (i left it as default) but if you can clarify the concept I will really appreciate it. Thanks again

edit retag flag offensive close merge delete

Comments

If you had a routing situation going on you could specify the controller as a gateway with the subnet configuration. The controller would then respond to arps for that IP, of course you would need some flows to control the traffic after the resolution.

evanz ( 2014-05-07 13:57:43 -0700 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-05-07 09:33:56 -0700

evanz gravatar image

HostTracker won't show any hosts until they are learned, you should be able to tell if they're learned from the opendaylight UI they will look like this. I'm not sure what exactly is preventing you from seeing hosts, it could be that you need to explicitly add a flow that will punt ARP to the controller, and use the subnet configuration in the ODL UI.

edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

Asked: 2014-05-07 09:01:19 -0700

Seen: 447 times

Last updated: May 07 '14