neutron-lbaas/neutron_lbaas
Cedric Shock 4455759f45 Allow creating loadbalancer with network_id
Create loadbalancer accepts either a vip_subnet_id
or vip_network_id. If vip_network_id is provided the
vip port is created on that network using the default
neutron behavior. If neutron assigns multiple fixed ips,
an ipv4 addresses is chosen as the vip in preference to
ipv6 addresses.

-----

Who would use the feature?
LBaaS users on a network with multiple subnets

Why use the feature?
Large deployments may have many subnets to allocate
vip addresses. Many of these subnets might have
no addresses remaining to allocate. Creating a
loadbalancer by network selects a subnet with an
available address.

What is the exact usage for the feature?

POST /lbaas/loadbalancers
Host: lbaas-service.cloudX.com:8651
Content-Type: application/json
Accept: application/json
X-Auth-Token:887665443383838

{
    "loadbalancer": {
        "name": "loadbalancer1",
        "description": "simple lb",
        "tenant_id": "b7c1a69e88bf4b21a8148f787aef2081",
        "vip_network_id": "a3847aea-fa6d-45bc-9bce-03d4472d209d",
        "admin_state_up": true
    }
}

DocImpact: 2.0 API Create a loadbalancer attributes
APIImpact
Closes-Bug: #1465758
Change-Id: I31f10581369343fde7f928ff0aeb1024eb752dc4
2016-09-14 23:28:20 +00:00
..
agent Revert "Implements ProcessMonitor in the haproxy driver" 2016-07-18 11:05:00 +00:00
cmd Nuke lbaas v1 2016-08-23 13:05:48 -05:00
common Allow setting "insecure" in neutron_lbaas.conf 2016-08-11 15:29:18 -07:00
db Allow creating loadbalancer with network_id 2016-09-14 23:28:20 +00:00
drivers Fix string interpolation LOG formatted 2016-09-09 07:08:52 +00:00
extensions Allow creating loadbalancer with network_id 2016-09-14 23:28:20 +00:00
services Allow creating loadbalancer with network_id 2016-09-14 23:28:20 +00:00
tests Allow creating loadbalancer with network_id 2016-09-14 23:28:20 +00:00
__init__.py Use the correct _ method from neutron_lbaas._i18n 2016-01-13 06:46:59 -08:00
_i18n.py Update translation setup 2016-01-29 07:08:17 +09:00
agent_scheduler.py LOG.warn -> LOG.warning 2015-12-31 01:35:31 -08:00
opts.py Merge "Updating imports for services prov_config options" 2016-08-25 08:00:35 +00:00
version.py Post-split, get jenkins tests passing 2014-12-08 22:52:02 -07:00