Access to Pool member insider of LoadBalancer

asked 2016-01-07 03:42:51 -0600

hamid gravatar image

I am new at Openstack, I am working on developing new loadbalancer, I created the controller (type: OS::Nova::Server) to add/remove VMs (set enabled: false for cpu_alarm_high and cpu_alarm_low), with curl command I can find the response time from each VM, but what I need now is to find out the number of active connection in lb pool which cloud be achieved by neutron lb-pool-stats <pool-id> but the problem is that : I want to access it from inside of my VM controller (I can not run any openstack api there) for scaling up/down, I passed alarm_url as parameter to VM controller

how can I pass or execute openstack api (such as neutron lb-pool-stats) inside of VM controller

edit retag flag offensive close merge delete