How to use Opendaylight loadbalance app in OpenStack Neutron Lbaas?

asked 2015-03-18 12:27:33 -0500

viswesn gravatar image

updated 2015-03-18 23:54:03 -0500

I am looking for a soultion to use https://wiki.opendaylight.org/view/OpenDaylight_Controller:Load_Balancer_Service (Opendaylight load balancer app) instead of using default HAProxy LbaaS provided in Neutron. For this I created "br-lbaas" ovs bridge in Neutron node and added veth pair between br-int and br-lbaas with same vlan tag to support multiple tenants in l3 networking.

Currently, I find qlbaas-'xxx' namespace has VIP and 'qrouter-xxx has floating-ip with NATing rule in iptables; I was able to ping the floating-ip; To get packet in br-lbaas bridge with vlan tag. I made tap device with VIP configured in qlbaas-xxx down for testing;

    ip netns exec qlbaas-xxxx ifconfig tapxxxx down

Now I was able to see the packet of ARP hitting in br-lbaas bridge. I hope now I am half way through :)

finally, I thought Opendaylight with loadbalancer app configured to listen on VIP will take care of rest by self learning but I could not see any packet in br-lbaas once I added the command

   ovs-vsctl set-controler br-lbaas tcp:<odl-ip>:<odl:port>

Did I configured something wrong? I was able to see the ARP packet in br-lbaas bridge interface once I delete the br-lbaas from ODL controller; I am verifying this using wireshark on interface br-lbaas.

edit retag flag offensive close merge delete