Load Balancer Pool Members with stacks

Registered by Kevin Fox

It looks like the Neutron::LoadBalancer object requires all members up front. If you want to have other stacks add entries into your load balancer, you are out of luck. Looking at the neutron lbaas api they have a pool member api:

{
      "member" : {
                   "address": "192.168.224.31",
                   "protocol_port": 8080,
                   "pool_id": "cfc6589d-f949-4c66-99d2-c2da56ef3764"
                 }
}

It looks like perhapse there should be a Neutron::LoadBalancerPoolMember type similar to a Neutron::Port type, that lets you specify one of these things at a time, rather then all at once.

Note, it also does not take in an instance, but an IP address, which will also fix a different issue of using heat to add instances with multiple neutron ports.

Blueprint information

Status:
Complete
Approver:
Steve Baker
Priority:
High
Drafter:
None
Direction:
Approved
Assignee:
Thomas Herve
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Thierry Carrez
Completed by
Steve Baker

Related branches

Sprints

Whiteboard

(stevebaker) It might be nice to be able to specify a neutron port ID as an alternative to an address.
(kfox1111) An instance_id + subnet_id should be unique enough to work as well.

Gerrit topic: https://review.openstack.org/#q,topic:bp/loadbalancer-pool-members,n,z

Addressed by: https://review.openstack.org/60520
    Add load balancer PoolMember resource

(stevebaker) This appears to be complete, please change the Implementation if it is not.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.