Modify neutron loadbalancer resource based on Neutron V2.0 LBaaS Extension

Registered by Rabi Mishra

Current Neutron Loadbalancer resource is not in-line with Neutron v2.0 API LBaaS Extension(http://docs.openstack.org/api/openstack-network/2.0/content/lbaas_ext.html ). I am not sure whether the current implementation works with Neutron v2.0 API.

LBaaS Extension includes the following resources:

vip, is the primary load balancing configuration object that specifies the virtual IP address and port on which client traffic is received.

pool, a load balancing pool is a logical set of members, such as web servers, that you group together to receive and process traffic.

member, a representation of the application running on back end server.

health_monitor, which is used to determine whether or not back end members of the pool are usable for processing traffic.

Resources available in the current implementation are:

OS::Neutron::HealthMonitor': HealthMonitor,
        'OS::Neutron::Pool': Pool,
        'OS::Neutron::PoolMember': PoolMember,
        'OS::Neutron::LoadBalancer': LoadBalancer,

There are number of issues

Assuming OS::Neutron::LoadBalancer': LoadBalancer maps to the 'vip' resource, 'protocol' property (which is required) is missing.

Also, there is no 'subnet_id' property.

Aim is to make it consistent with the API and add some unit tests to it.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Rabi Mishra
Direction:
Needs approval
Assignee:
Rabi Mishra
Definition:
Obsolete
Series goal:
None
Implementation:
Started
Milestone target:
None
Started by
Rabi Mishra
Completed by
Steve Baker

Related branches

Sprints

Whiteboard

The required changes will be raised as separate bugs.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.