How do I create a Multi Port LBAAS Listener, using the UI

asked 2016-11-03 07:47:45 -0500

SiBaz@LexisNexis gravatar image

I'm using Horizon to administrate an openstack setup. We have the LBAAS UI installed, to setup Load Balancers. What I need is a single Load Balancer, listening on multiple ports on the same IP. I can see in http://docs.openstack.org/mitaka/networking-guide/config-lbaas.html (http://docs.openstack.org/mitaka/netw...) that this is relatively straight forward using neutron cli commands, but I don't have access to those. So how can I do it using the UI?

The example, using cli commands, simlifies to:-

neutron lbaas-loadbalancer-create --name test-lb private-subnet
neutron lbaas-listener-create \
  --name test-lb-http \
  --loadbalancer test-lb \
  --protocol HTTP \
  --protocol-port 80
neutron lbaas-listener-create \
  --name test-lb-https \
  --loadbalancer test-lb \
  --protocol HTTPS \
  --protocol-port 443

The implication is that the VIP assigned to test-lb at create time, now has services listening on both ports 80 and 443. However in the UI when you follow similar steps, creating the second LB, with the same name as the first, doesn't link it to the first, and you can't set it up with the same VIP.

What am I doing wrong?

edit retag flag offensive close merge delete