Merge "Remove Neutron LBaaS"

This commit is contained in:
Zuul 2019-10-04 10:25:58 +00:00 committed by Gerrit Code Review
commit 710d129ca9
62 changed files with 34 additions and 2840 deletions

View File

@ -84,9 +84,7 @@ parameter. The corresponding service plugin must have been
activated as part of the configuration.
Check `Service providers <#list-service-providers>`__ for how to see
currently loaded service types. Additionally the service plugin
needs to support the use of flavors. For example, the LOADBALANCERV2
service type using the LBaaSv2 API currently supports Neutron service
flavors.
needs to support the use of flavors.
Creation currently limited to administrators. Other users will
receive a ``Forbidden 403`` response code with a response body

View File

@ -60,7 +60,13 @@ Quality of Service
###########################################
Load Balancer as a Service 2.0 (DEPRECATED)
###########################################
.. include:: lbaas-v2.inc
Neutron-lbaas is deprecated as of Queens. Load-Balancer-as-a-Service
(LBaaS v2) is now provided by the `Octavia project
<https://docs.openstack.org/octavia/latest/>`_. The `Octavia API v2
<https://developer.openstack.org/api-ref/load-balancer/v2/index.html>`_ is
backwards compatible with the neutron-lbaas implementation of the LBaaS 2.0
API.
Please see the FAQ at https://wiki.openstack.org/wiki/Neutron/LBaaS/Deprecation
#####################################
Logging Resource (networking-midonet)
#####################################

File diff suppressed because it is too large Load Diff

View File

@ -127,12 +127,6 @@ floatingip-id-path:
in: path
required: true
type: string
healthmonitor_id-path:
description: |
The ID for the health monitor.
in: path
required: true
type: string
ikepolicy_id-path:
description: |
The ID of the IKE policy.
@ -151,18 +145,6 @@ ipsecpolicy_id-path:
in: path
required: true
type: string
listener-id-path:
description: |
The ID of the listener.
in: path
required: true
type: string
loadbalancer-id-path:
description: |
The ID of the load balancer.
in: path
required: true
type: string
log_id-path:
description: |
The ID of the log resource.
@ -175,12 +157,6 @@ logging_resource_id:
in: path
required: true
type: string
member_id-path:
description: |
The ID for the member.
in: path
required: true
type: string
metering_label-id-path:
description: |
The ID of the metering label.
@ -205,18 +181,6 @@ network_segment_range_id-path:
in: path
required: true
type: string
pool_id-path:
description: |
The ID for the pool.
in: path
required: true
type: string
pool_id-request:
description: |
The ID for the pool.
in: path
required: true
type: string
port_id-path:
description: |
The ID of the port.
@ -2079,21 +2043,6 @@ connection_id-body-response:
in: body
required: false
type: string
connection_limit:
description: |
The maximum number of connections permitted for
this load balancer. Default is infinite.
in: body
required: false
type: integer
connection_limit-response:
description: |
The maximum number of connections allowed for the
VIP. Value is ``-1`` if the limit is not set. Default
is infinite.
in: body
required: true
type: integer
conntrack_helper:
description: |
A router ``conntrack helper`` object.
@ -2175,20 +2124,6 @@ default:
in: body
required: true
type: boolean
default_pool_id:
description: |
The ID of default pool. Must have compatible
protocol with listener.
in: body
required: false
type: string
default_pool_id-response:
description: |
The ID of default pool. Must have compatible
protocol with listener.
in: body
required: true
type: string
default_prefixlen:
description: |
The size of the prefix to allocate when the
@ -2209,25 +2144,6 @@ default_quota:
in: body
required: false
type: integer
default_tls_container_ref:
description: |
A reference to a container of TLS secrets.
in: body
required: false
type: string
default_tls_container_ref-response:
description: |
A reference to a container of TLS secrets.
in: body
required: true
type: string
delay:
description: |
The time, in seconds, between sending probes to
members.
in: body
required: true
type: integer
description:
description: |
A human-readable description for the resource.
@ -2372,13 +2288,6 @@ dpd:
in: body
required: false
type: object
driver:
description: |
Provider driver to use for this profile. Example:
``neutron_lbaas.drivers.octavia.driver.OctaviaDriver``
in: body
required: false
type: string
dscp_mark:
description: |
The DSCP mark value.
@ -3219,7 +3128,7 @@ flavor-service_profiles:
type: array
flavor-service_type:
description: |
Service type for the flavor. Example: LOADBALANCERV2.
Service type for the flavor. Example: FIREWALL.
in: body
required: true
type: string
@ -3378,38 +3287,6 @@ fw_event-request-put:
in: body
required: false
type: string
healthmonitor:
description: |
A ``healthmonitor`` object.
in: body
required: true
type: object
healthmonitor-id:
description: |
The UUID of the health monitor.
in: body
required: false
type: string
healthmonitors-obj:
description: |
A list of ``healthmonitor`` objects.
in: body
required: true
type: array
healthmonitors-response:
description: |
List of health monitors that are associated with the pool.
in: body
required: true
type: array
healthmonitors_status:
description: |
A list of ``healthmonitors_status`` objects,
one per healthmonitor that contains a ``monitor_id``,
``status`` and ``status_description``
in: body
required: true
type: array
heartbeat_timestamp:
description: |
Time at which the last heartbeat was received.
@ -3422,12 +3299,6 @@ host:
in: body
required: true
type: string
http_method:
description: |
The HTTP method that the monitor uses for requests.
in: body
required: true
type: string
id:
description: |
The ID of the resource.
@ -3770,17 +3641,6 @@ l2_adjacency:
in: body
required: true
type: boolean
lb_algorithm:
description: |
The load-balancer algorithm, which is round-robin
(``ROUND_ROBIN``), least-connections (``LEAST_CONNECTIONS``),
source IP (``SOURCE_IP``), and so on, that is used to distribute
traffic to the pool members. This value, which must be supported,
is dependent on the load-balancer provider. The round-robin
algorithm must be supported.
in: body
required: true
type: string
lifetime:
description: |
The lifetime of the security association. The
@ -3796,73 +3656,6 @@ links:
in: body
required: true
type: array
listener:
description: |
A ``listener`` object.
in: body
required: true
type: object
listener-id-response:
description: |
The ID of the listener.
in: body
required: true
type: string
listener_id:
description: |
The ID of the listener.
in: body
required: false
type: string
listeners:
description: |
The associated listeners, if any.
in: body
required: true
type: array
listeners-response:
description: |
A list of ``listeners`` objects.
in: body
required: true
type: array
loadbalancer:
description: |
A ``loadbalancer`` object.
in: body
required: true
type: object
loadbalancer-id:
description: |
The ID of the load balancer.
in: body
required: true
type: string
loadbalancer-provider:
description: |
Provider name of the load balancer service.
in: body
required: true
type: string
loadbalancer-provider-request:
description: |
Provider name of the load balancer service.
in: body
required: false
type: string
loadbalancer-statuses:
description: |
The status tree of a load balancer object contains all
provisioning and operating statuses for its children.
in: body
required: true
type: object
loadbalancers:
description: |
A list of load balancer objects.
in: body
required: true
type: array
local_ep_group_id:
description: |
The ID for the endpoint group that contains
@ -4060,56 +3853,6 @@ max_prefixlen:
in: body
required: false
type: integer
max_retries:
description: |
The number of allowed connection failures before
changing the status of the member to ``INACTIVE``. A valid value
is from 1 to 10.
in: body
required: true
type: integer
member:
description: |
A ``member`` object.
in: body
required: true
type: object
member-id-response:
description: |
The ID of the member.
in: body
required: true
type: string
member-weight:
description: |
The weight of a member determines the portion of
requests or connections it services compared to the other members
of the pool. For example, a member with a weight of 10 receives five
times as much traffic as a member with a weight of 2.
A value of 0 means the member does not participate in
load- balancing but still accepts persistent connections. A valid
value is from 0 to 256.
in: body
required: true
type: integer
member-weight-request:
description: |
The weight of a member determines the portion of
requests or connections it services compared to the other members
of the pool. For example, a member with a weight of 10 receives five
times as much traffic as a member with a weight of 2.
A value of 0 means the member does not participate in
load- balancing but still accepts persistent connections. A valid
value is from 0 to 256. The default is 1.
in: body
required: false
type: integer
members:
description: |
The list of members that belong to the pool.
in: body
required: true
type: array
metainfo:
description: |
JSON-formatted meta information.
@ -4496,13 +4239,6 @@ object_type:
in: body
required: true
type: string
operating_status:
description: |
The operating status of the load balancer. This
value is ``ONLINE`` or ``OFFLINE``.
in: body
required: true
type: string
peer_address:
description: |
The peer gateway public IPv4 or IPv6 address or
@ -4570,65 +4306,6 @@ policy:
in: body
required: true
type: object
pool:
description: |
A ``pool`` object.
in: body
required: true
type: object
pool-id-response:
description: |
The ID of the pool.
in: body
required: true
type: string
pool-session_persistence:
description: |
A JSON object specifying the session persistence for the pool
or ``null`` for no session persistence. Default is ``null``.
in: body
required: true
type: object
pool-session_persistence-request:
description: |
A JSON object specifying the session persistence for the pool
or ``null`` for no session persistence. Default is ``null``.
in: body
required: false
type: object
pool-status:
description: |
The status of the pool. Indicates whether the
pool is operational.
in: body
required: true
type: string
pool-subnet_id:
description: |
The subnet on which the members of the pool will be located.
in: body
required: true
type: string
pool-subnet_id-request:
description: |
If you omit this parameter, LBaaS uses the
``vip_subnet_id`` parameter value for the subnet UUID.
in: body
required: false
type: string
pools:
description: |
List of pools that are associated with the health
monitor.
in: body
required: true
type: array
pools-obj:
description: |
A list of ``pool`` objects.
in: body
required: true
type: array
port:
description: |
A ``port`` object.
@ -4923,13 +4600,6 @@ provider:segmentation_id-request:
in: body
required: false
type: integer
provisioning_status:
description: |
The provisioning status of the load balancer.
This value is ``ACTIVE``, ``PENDING_CREATE`` or ``ERROR``.
in: body
required: true
type: string
psk:
description: |
The pre-shared key. A valid value is any string.
@ -5809,15 +5479,13 @@ service_profile-description-request:
type: string
service_profile-driver:
description: |
Provider driver to use for this profile. Example:
``neutron_lbaas.drivers.octavia.driver.OctaviaDriver``
Provider driver to use for this profile.
in: body
required: true
type: string
service_profile-driver-request:
description: |
Provider driver to use for this profile. Example:
``neutron_lbaas.drivers.octavia.driver.OctaviaDriver``
Provider driver to use for this profile.
in: body
required: false
type: string
@ -5869,8 +5537,8 @@ service_providers:
service_type:
description: |
The service type, which is ``CORE``, ``DUMMY``,
``FIREWALL``, ``FLAVORS``, ``L3_ROUTER_NAT``, ``LOADBALANCER``,
``LOADBALANCERV2``, ``METERING``, ``QOS``, or ``VPN``.
``FIREWALL``, ``FLAVORS``, ``L3_ROUTER_NAT``, ``METERING``, ``QOS``,
or ``VPN``.
in: body
required: true
type: string
@ -5887,18 +5555,6 @@ shared-response:
in: body
required: true
type: boolean
sni_container_refs:
description: |
A list of references to TLS secrets.
in: body
required: false
type: array
sni_container_refs-response:
description: |
A list of references to TLS secrets.
in: body
required: true
type: array
source_firewall_group_id-body-optional:
description: |
The ID of the remote source firewall group.
@ -6236,14 +5892,6 @@ target_tenant:
in: body
required: true
type: string
timeout:
description: |
The maximum time, in seconds, that a monitor
waits to connect before it times out. This value must be less than
the delay value.
in: body
required: true
type: integer
topic:
description: |
The name of AMQP topic the agent is listening on such as
@ -6284,14 +5932,6 @@ trunk_port_id:
in: body
required: true
type: string
type:
description: |
The type of probe sent by the load balancer to
verify the member state. A valid value is ``PING``, ``TCP``,
``HTTP``, or ``HTTPS``.
in: body
required: true
type: string
units:
description: |
The units for the lifetime of the security
@ -6328,22 +5968,6 @@ uplink_status_propagation-request:
in: body
required: false
type: boolean
url_path:
description: |
The HTTP path of the request sent by the monitor
to test the health of a member. A valid value is a string that
begins with a forward slash (``/``).
in: body
required: false
type: string
url_path-response:
description: |
The HTTP path of the request sent by the monitor
to test the health of a member. Must be a string that begins with
a forward slash (``/``). The default is ``/``.
in: body
required: true
type: string
use_default_subnetpool:
description: |
Whether to allocate this subnet from the default subnet pool.
@ -6402,41 +6026,6 @@ versions:
in: body
required: true
type: array
vip:
description: |
A ``vip`` object.
in: body
required: true
type: object
vip_address:
description: |
The IP address of the VIP .
format: ipv4
in: body
required: true
type: string
vip_id:
description: |
The ID of the virtual IP (VIP) address.
in: body
required: true
type: string
vip_network_id:
description: |
The ID of the network on which to allocate
the virtual IP (VIP) address. This option is
required if no vip_subnet_id is given.
in: body
required: false
type: string
vip_subnet_id:
description: |
The ID of the subnet on which to allocate the
virtual IP (VIP) address. This option is required
if no vip_network_id is given.
in: body
required: false
type: string
vlan_transparent:
description: |
Indicates the VLAN transparency mode of the network, which is

View File

@ -21,13 +21,6 @@
"alias": "l3_agent_scheduler",
"description": "Schedule routers among l3 agents"
},
{
"updated": "2013-02-07T10:00:00-00:00",
"name": "Loadbalancer Agent Scheduler",
"links": [],
"alias": "lbaas_agent_scheduler",
"description": "Schedule pools among lbaas agents"
},
{
"updated": "2013-03-28T10:00:00-00:00",
"name": "Neutron L3 Configurable external gateway mode",
@ -105,13 +98,6 @@
"alias": "extra_dhcp_opt",
"description": "Extra options configuration for DHCP. For example PXE boot options to DHCP clients can be specified (e.g. tftp-server, server-ip-address, bootfile-name)"
},
{
"updated": "2012-10-07T10:00:00-00:00",
"name": "LoadBalancing service",
"links": [],
"alias": "lbaas",
"description": "Extension for LoadBalancing service"
},
{
"updated": "2013-02-01T10:00:00-00:00",
"name": "Neutron Extra Route",

View File

@ -1,6 +1,6 @@
{
"flavor": {
"service_type": "LOADBALANCERV2",
"service_type": "FIREWALL",
"enabled": true,
"name": "dummy",
"description": "Dummy flavor"

View File

@ -2,7 +2,7 @@
"flavor": {
"id": "7fc0581b-4509-49e1-90eb-c953c877fa4c",
"name": "dummy",
"service_type": "LOADBALANCERV2",
"service_type": "FIREWALL",
"description": "Dummy flavor",
"enabled": true,
"service_profiles": []

View File

@ -3,7 +3,7 @@
"description": "",
"enabled": true,
"service_profiles": [],
"service_type": "LOADBALANCERV2",
"service_type": "FIREWALL",
"id": "f7b14d9a-b0dc-4fbe-bb14-a0f4970a69e0",
"name": "dummy"
}

View File

@ -3,7 +3,7 @@
"description": "New description",
"enabled": false,
"service_profiles": [],
"service_type": "LOADBALANCERV2",
"service_type": "FIREWALL",
"id": "7fc0581b-4509-49e1-90eb-c953c877fa4c",
"name": "newname"
}

View File

@ -4,7 +4,7 @@
"description": "",
"enabled": true,
"service_profiles": [],
"service_type": "LOADBALANCERV2",
"service_type": "FIREWALL",
"id": "f7b14d9a-b0dc-4fbe-bb14-a0f4970a69e0",
"name": "dummy"
}

View File

@ -1,7 +1,7 @@
{
"service_profile": {
"enabled": "true",
"driver": "neutron_lbaas.drivers.octavia.driver.OctaviaDriver",
"driver": "neutron.services.vpn.device_drivers.ipsec.OpenSwanDriver",
"description": "Dummy profile",
"metainfo": "{'foo': 'bar'}"
}

View File

@ -2,7 +2,7 @@
"service_profile": {
"enabled": true,
"metainfo": "{'foo': 'bar'}",
"driver": "neutron_lbaas.drivers.octavia.driver.OctaviaDriver",
"driver": "neutron.services.vpn.device_drivers.ipsec.OpenSwanDriver",
"id": "7c793e5f-9b64-44e0-8b1f-902e59c85a01",
"description": "Dummy profile"
}

View File

@ -2,7 +2,7 @@
"service_profile": {
"enabled": true,
"metainfo": "{'foo': 'bar'}",
"driver": "neutron_lbaas.drivers.octavia.driver.OctaviaDriver",
"driver": "neutron.services.vpn.device_drivers.ipsec.OpenSwanDriver",
"id": "7c793e5f-9b64-44e0-8b1f-902e59c85a01",
"description": "Dummy profile"
}

View File

@ -1,7 +1,7 @@
{
"service_profile": {
"enabled": false,
"driver": "neutron_lbaas.drivers.octavia.driver.OctaviaDriver",
"driver": "neutron.services.vpn.device_drivers.ipsec.OpenSwanDriver",
"description": "New description",
"metainfo": "{'new': 'info'}"
}

View File

@ -2,7 +2,7 @@
"service_profile": {
"enabled": false,
"metainfo": "{'new': 'info'}",
"driver": "neutron_lbaas.drivers.octavia.driver.OctaviaDriver",
"driver": "neutron.services.vpn.device_drivers.ipsec.OpenSwanDriver",
"id": "7c793e5f-9b64-44e0-8b1f-902e59c85a01",
"description": "New description"
}

View File

@ -3,14 +3,14 @@
{
"id": "4e5b9191-ffbe-4f7a-b112-2db98232fd32",
"enabled": true,
"driver": "neutron_lbaas.drivers.octavia.driver.OctaviaDriver",
"driver": "neutron.services.vpn.device_drivers.ipsec.OpenSwanDriver",
"description": "",
"metainfo": "{}"
},
{
"id": "684322c5-703a-48a2-8138-34b99942a7ef",
"enabled": true,
"driver": "neutron_lbaas.drivers.octavia.driver.OctaviaDriver",
"driver": "neutron.services.vpn.device_drivers.ipsec.OpenSwanDriver",
"description": "",
"metainfo": "{}"
}

View File

@ -1,5 +0,0 @@
{
"healthmonitor": {
"id": "b624decf-d5d3-4c66-9a3d-f047e7786181"
}
}

View File

@ -1,3 +0,0 @@
{
"healthmonitor": {}
}

View File

@ -1,13 +0,0 @@
{
"healthmonitor": {
"pool_id": "74aa2010-a59f-4d35-a436-60a6da882819",
"admin_state_up": true,
"delay": 1,
"expected_codes": "200,201,202",
"http_method": "GET",
"max_retries": 5,
"timeout": 1,
"type": "HTTP",
"url_path": "/index.html"
}
}

View File

@ -1,17 +0,0 @@
{
"healthmonitor": {
"admin_state_up": true,
"project_id": "eabfefa3fd1740a88a47ad98e132d238",
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
"delay": 1,
"expected_codes": "200,201,202",
"max_retries": 5,
"name": "healthmonitor1",
"http_method": "GET",
"timeout": 1,
"pools": [],
"url_path": "/index.html",
"type": "HTTP",
"id": "b7633ade-24dc-4d72-8475-06aa22be5412"
}
}

View File

@ -1,21 +0,0 @@
{
"healthmonitor": {
"admin_state_up": true,
"project_id": "eabfefa3fd1740a88a47ad98e132d238",
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
"delay": 1,
"expected_codes": "200,201,202",
"max_retries": 5,
"name": "healthmonitor1",
"http_method": "GET",
"timeout": 1,
"pools": [
{
"id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332"
}
],
"url_path": "/index.html",
"type": "HTTP",
"id": "b7633ade-24dc-4d72-8475-06aa22be5412"
}
}

View File

@ -1,12 +0,0 @@
{
"healthmonitor": {
"admin_state_up": false,
"delay": 2,
"expected_codes": "200",
"http_method": "POST",
"max_retries": 2,
"name": "healthmonitor1",
"timeout": 2,
"url_path": "/page.html"
}
}

View File

@ -1,21 +0,0 @@
{
"healthmonitor": {
"admin_state_up": false,
"project_id": "eabfefa3fd1740a88a47ad98e132d238",
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
"delay": 2,
"expected_codes": "200",
"max_retries": 2,
"name": "healthmonitor1",
"http_method": "POST",
"timeout": 2,
"pools": [
{
"id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332"
}
],
"url_path": "/page.html",
"type": "HTTP",
"id": "b7633ade-24dc-4d72-8475-06aa22be5412"
}
}

View File

@ -1,23 +0,0 @@
{
"healthmonitors": [
{
"admin_state_up": true,
"project_id": "eabfefa3fd1740a88a47ad98e132d238",
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
"delay": 1,
"expected_codes": "200,201,202",
"max_retries": 5,
"name": "healthmonitor1",
"http_method": "GET",
"timeout": 1,
"pools": [
{
"id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332"
}
],
"url_path": "/index.html",
"type": "HTTP",
"id": "b7633ade-24dc-4d72-8475-06aa22be5412"
}
]
}

View File

@ -1,16 +0,0 @@
{
"listener": {
"admin_state_up": true,
"connection_limit": 100,
"description": "listener one",
"loadbalancer_id": "a36c20d0-18e9-42ce-88fd-82a35977ee8c",
"name": "listener1",
"protocol": "HTTP",
"protocol_port": 80,
"default_tls_container_ref": "https://barbican.endpoint/containers/a36c20d0-18e9-42ce-88fd-82a35977ee8c",
"sni_container_refs": [
"https://barbican.endpoint/containers/b36c20d0-18e9-42ce-88fd-82a35977ee8d",
"https://barbican.endpoint/containers/c36c20d0-18e9-42ce-88fd-82a35977ee8e"
]
}
}

View File

@ -1,24 +0,0 @@
{
"listener": {
"admin_state_up": true,
"connection_limit": 100,
"default_pool_id": null,
"description": "listener one",
"id": "39de4d56-d663-46e5-85a1-5b9d5fa17829",
"loadbalancers": [
{
"id": "a36c20d0-18e9-42ce-88fd-82a35977ee8c"
}
],
"name": "listener1",
"protocol": "HTTP",
"protocol_port": 80,
"project_id": "1a3e005cf9ce40308c900bcb08e5320c",
"tenant_id": "1a3e005cf9ce40308c900bcb08e5320c",
"default_tls_container_ref": "https://barbican.endpoint/containers/a36c20d0-18e9-42ce-88fd-82a35977ee8c",
"sni_container_refs": [
"https://barbican.endpoint/containers/b36c20d0-18e9-42ce-88fd-82a35977ee8d",
"https://barbican.endpoint/containers/c36c20d0-18e9-42ce-88fd-82a35977ee8e"
]
}
}

View File

@ -1,24 +0,0 @@
{
"listener": {
"admin_state_up": true,
"connection_limit": 100,
"default_pool_id": null,
"description": "",
"id": "35cb8516-1173-4035-8dae-0dae3453f37f",
"loadbalancers": [
{
"id": "a9729389-6147-41a3-ab22-a24aed8692b2"
}
],
"name": "",
"protocol": "HTTP",
"protocol_port": 80,
"project_id": "3e4d8bec50a845fcb09e03a4375c691d",
"tenant_id": "3e4d8bec50a845fcb09e03a4375c691d",
"default_tls_container_ref": "https://barbican.endpoint/containers/a36c20d0-18e9-42ce-88fd-82a35977ee8c",
"sni_container_refs": [
"https://barbican.endpoint/containers/b36c20d0-18e9-42ce-88fd-82a35977ee8d",
"https://barbican.endpoint/containers/c36c20d0-18e9-42ce-88fd-82a35977ee8e"
]
}
}

View File

@ -1,13 +0,0 @@
{
"listener": {
"admin_state_up": false,
"connection_limit": 200,
"description": "listener two",
"name": "listener2",
"default_tls_container_ref": "https://barbican.endpoint/containers/a36c20d0-18e9-42ce-88fd-82a35977ee8c",
"sni_container_refs": [
"https://barbican.endpoint/containers/b36c20d0-18e9-42ce-88fd-82a35977ee8d",
"https://barbican.endpoint/containers/c36c20d0-18e9-42ce-88fd-82a35977ee8e"
]
}
}

View File

@ -1,24 +0,0 @@
{
"listener": {
"admin_state_up": false,
"connection_limit": 200,
"default_pool_id": null,
"description": "listener two",
"id": "39de4d56-d663-46e5-85a1-5b9d5fa17829",
"loadbalancers": [
{
"id": "a36c20d0-18e9-42ce-88fd-82a35977ee8c"
}
],
"name": "listener2",
"protocol": "HTTP",
"protocol_port": 80,
"project_id": "1a3e005cf9ce40308c900bcb08e5320c",
"tenant_id": "1a3e005cf9ce40308c900bcb08e5320c",
"default_tls_container_ref": "https://barbican.endpoint/containers/a36c20d0-18e9-42ce-88fd-82a35977ee8c",
"sni_container_refs": [
"https://barbican.endpoint/containers/b36c20d0-18e9-42ce-88fd-82a35977ee8d",
"https://barbican.endpoint/containers/c36c20d0-18e9-42ce-88fd-82a35977ee8e"
]
}
}

View File

@ -1,26 +0,0 @@
{
"listeners": [
{
"admin_state_up": true,
"connection_limit": 100,
"default_pool_id": null,
"description": "",
"id": "35cb8516-1173-4035-8dae-0dae3453f37f",
"loadbalancers": [
{
"id": "a9729389-6147-41a3-ab22-a24aed8692b2"
}
],
"name": "",
"protocol": "HTTP",
"protocol_port": 80,
"project_id": "3e4d8bec50a845fcb09e03a4375c691d",
"tenant_id": "3e4d8bec50a845fcb09e03a4375c691d",
"default_tls_container_ref": "https://barbican.endpoint/containers/a36c20d0-18e9-42ce-88fd-82a35977ee8c",
"sni_container_refs": [
"https://barbican.endpoint/containers/b36c20d0-18e9-42ce-88fd-82a35977ee8d",
"https://barbican.endpoint/containers/c36c20d0-18e9-42ce-88fd-82a35977ee8e"
]
}
]
}

View File

@ -1,12 +0,0 @@
{
"loadbalancer": {
"name": "loadbalancer1",
"description": "simple lb",
"project_id": "b7c1a69e88bf4b21a8148f787aef2081",
"tenant_id": "b7c1a69e88bf4b21a8148f787aef2081",
"vip_subnet_id": "013d3059-87a4-45a5-91e9-d721068ae0b2",
"vip_address": "10.0.0.4",
"admin_state_up": true,
"flavor": "a7ae5d5a-d855-4f9a-b187-af66b53f4d04"
}
}

View File

@ -1,18 +0,0 @@
{
"loadbalancer": {
"admin_state_up": true,
"description": "simple lb",
"id": "a36c20d0-18e9-42ce-88fd-82a35977ee8c",
"listeners": [],
"name": "loadbalancer1",
"operating_status": "ONLINE",
"provisioning_status": "ACTIVE",
"project_id": "b7c1a69e88bf4b21a8148f787aef2081",
"tenant_id": "b7c1a69e88bf4b21a8148f787aef2081",
"vip_address": "10.0.0.4",
"vip_subnet_id": "013d3059-87a4-45a5-91e9-d721068ae0b2",
"flavor": "a7ae5d5a-d855-4f9a-b187-af66b53f4d04",
"provider": "sample_provider",
"pools": []
}
}

View File

@ -1,16 +0,0 @@
{
"loadbalancer": {
"description": "simple lb",
"admin_state_up": true,
"project_id": "1a3e005cf9ce40308c900bcb08e5320c",
"tenant_id": "1a3e005cf9ce40308c900bcb08e5320c",
"provisioning_status": "ACTIVE",
"listeners": [],
"vip_address": "10.0.0.2",
"vip_subnet_id": "013d3059-87a4-45a5-91e9-d721068ae0b2",
"id": "a9729389-6147-41a3-ab22-a24aed8692b2",
"operating_status": "ONLINE",
"name": "loadbalancer1",
"pools": []
}
}

View File

@ -1,47 +0,0 @@
{
"statuses": {
"loadbalancer": {
"name": "lb1",
"listeners": [
{
"pools": [
{
"name": "pool1",
"provisioning_status": "ACTIVE",
"healthmonitor": {
"type": "HTTP",
"id": "90f7c765-0bc9-47c4-8513-4cc0c264c8f8",
"provisioning_status": "ACTIVE"
},
"members": [
{
"address": "10.0.0.4",
"protocol_port": 80,
"id": "32723bee-2484-4de3-b6fc-c0b98d35fc84",
"operating_status": "ONLINE",
"provisioning_status": "ACTIVE"
},
{
"address": "10.0.0.3",
"protocol_port": 80,
"id": "173b8164-0c9a-43ec-ab33-4ae0e7a8f863",
"operating_status": "ONLINE",
"provisioning_status": "ACTIVE"
}
],
"id": "ae6f93b8-a3f6-46cd-bb18-c2ab0308abf7",
"operating_status": "ONLINE"
}
],
"name": "listener1",
"id": "c2a41fbe-b70a-4645-bb11-4d3c28f23a25",
"operating_status": "ONLINE",
"provisioning_status": "ACTIVE"
}
],
"id": "a4c19566-6f81-4c96-ac11-33954a9825a2",
"operating_status": "ONLINE",
"provisioning_status": "ACTIVE"
}
}
}

View File

@ -1,7 +0,0 @@
{
"loadbalancer": {
"admin_state_up": false,
"description": "simple lb2",
"name": "loadbalancer2"
}
}

View File

@ -1,18 +0,0 @@
{
"loadbalancer": {
"admin_state_up": false,
"description": "simple lb2",
"id": "a36c20d0-18e9-42ce-88fd-82a35977ee8c",
"listeners": [],
"name": "loadbalancer2",
"operating_status": "ONLINE",
"provisioning_status": "PENDING_UPDATE",
"project_id": "b7c1a69e88bf4b21a8148f787aef2081",
"tenant_id": "b7c1a69e88bf4b21a8148f787aef2081",
"vip_address": "10.0.0.4",
"vip_subnet_id": "013d3059-87a4-45a5-91e9-d721068ae0b2",
"flavor": "a7ae5d5a-d855-4f9a-b187-af66b53f4d04",
"provider": "sample_provider",
"pools": []
}
}

View File

@ -1,4 +0,0 @@
#!wiki caution
Note
A Load Balancer that is does not have a provisioning_status of ACTIVE cannot be updated.

View File

@ -1,20 +0,0 @@
{
"loadbalancers": [
{
"description": "simple lb",
"admin_state_up": true,
"project_id": "1a3e005cf9ce40308c900bcb08e5320c",
"tenant_id": "1a3e005cf9ce40308c900bcb08e5320c",
"provisioning_status": "ACTIVE",
"listeners": [],
"vip_address": "10.0.0.2",
"vip_subnet_id": "013d3059-87a4-45a5-91e9-d721068ae0b2",
"id": "a9729389-6147-41a3-ab22-a24aed8692b2",
"operating_status": "ONLINE",
"name": "loadbalancer1",
"flavor": "a7ae5d5a-d855-4f9a-b187-af66b53f4d04",
"provider": "sample-provider",
"pools": []
}
]
}

View File

@ -1,9 +0,0 @@
{
"member": {
"address": "10.0.0.22",
"admin_state_up": true,
"protocol_port": "90",
"pool_id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
"weight": "1"
}
}

View File

@ -1,12 +0,0 @@
{
"member": {
"admin_state_up": true,
"weight": 1,
"address": "10.0.1.22",
"project_id": "eabfefa3fd1740a88a47ad98e132d238",
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
"protocol_port": 90,
"id": "cf024846-7516-4e3a-b0fb-6590322c836f",
"subnet_id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332"
}
}

View File

@ -1,12 +0,0 @@
{
"member": {
"admin_state_up": true,
"weight": 1,
"address": "10.0.1.22",
"project_id": "eabfefa3fd1740a88a47ad98e132d238",
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
"protocol_port": 90,
"id": "cf024846-7516-4e3a-b0fb-6590322c836f",
"subnet_id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332"
}
}

View File

@ -1,5 +0,0 @@
{
"member": {
"weight": 5
}
}

View File

@ -1,12 +0,0 @@
{
"member": {
"admin_state_up": true,
"weight": 5,
"address": "10.0.1.22",
"project_id": "eabfefa3fd1740a88a47ad98e132d238",
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
"protocol_port": 90,
"id": "cf024846-7516-4e3a-b0fb-6590322c836f",
"subnet_id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332"
}
}

View File

@ -1,16 +0,0 @@
{
"members": [
{
"admin_state_up": true,
"status": "ACTIVE",
"status_description": null,
"weight": 1,
"address": "10.0.1.22",
"project_id": "eabfefa3fd1740a88a47ad98e132d238",
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
"protocol_port": 90,
"id": "cf024846-7516-4e3a-b0fb-6590322c836f",
"pool_id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332"
}
]
}

View File

@ -1,14 +0,0 @@
{
"pool": {
"admin_state_up": true,
"description": "simple pool",
"lb_algorithm": "ROUND_ROBIN",
"session_persistence": {
"cookie_name": "Cookie",
"type": "APP_COOKIE"
},
"name": "my-pool",
"protocol": "HTTP",
"listener_id": "39de4d56-d663-46e5-85a1-5b9d5fa17829"
}
}

View File

@ -1,23 +0,0 @@
{
"pool": {
"lb_algorithm": "ROUND_ROBIN",
"protocol": "HTTP",
"description": "simple pool",
"healthmonitor_id": null,
"members": [],
"session_persistence": {
"cookie_name": "Cookie",
"type": "APP_COOKIE"
},
"listeners": [
{
"id": "39de4d56-d663-46e5-85a1-5b9d5fa17829"
}
],
"id": "af95e0ce-8a26-4f29-9524-db41e7769c73",
"name": "my-pool",
"admin_state_up": true,
"project_id": "eabfefa3fd1740a88a47ad98e132d238",
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238"
}
}

View File

@ -1,14 +0,0 @@
{
"members": [
{
"address": "10.0.0.8",
"admin_state_up": true,
"id": "9a7aff27-fd41-4ec1-ba4c-3eb92c629313",
"protocol_port": 80,
"subnet_id": "013d3059-87a4-45a5-91e9-d721068ae0b2",
"project_id": "1a3e005cf9ce40308c900bcb08e5320c",
"tenant_id": "1a3e005cf9ce40308c900bcb08e5320c",
"weight": 1
}
]
}

View File

@ -1,25 +0,0 @@
{
"pool": {
"lb_algorithm": "ROUND_ROBIN",
"protocol": "HTTP",
"description": "",
"healthmonitor_id": "b7633ade-24dc-4d72-8475-06aa22be5412",
"members": [
"cf024846-7516-4e3a-b0fb-6590322c836f"
],
"session_persistence": {
"cookie_name": "Cookie1",
"type": "APP_COOKIE"
},
"listeners": [
{
"id": "023f2e34-7806-443b-bfae-16c324569a3d"
}
],
"id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
"name": "pool1",
"admin_state_up": true,
"project_id": "eabfefa3fd1740a88a47ad98e132d238",
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238"
}
}

View File

@ -1,5 +0,0 @@
{
"pool": {
"name": "SuperPool"
}
}

View File

@ -1,25 +0,0 @@
{
"pool": {
"lb_algorithm": "ROUND_ROBIN",
"protocol": "HTTP",
"description": "",
"healthmonitor_id": "b7633ade-24dc-4d72-8475-06aa22be5412",
"members": [
"cf024846-7516-4e3a-b0fb-6590322c836f"
],
"session_persistence": {
"cookie_name": null,
"type": "SOURCE_IP"
},
"listeners": [
{
"id": "023f2e34-7806-443b-bfae-16c324569a3d"
}
],
"id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
"name": "SuperPool",
"admin_state_up": true,
"project_id": "eabfefa3fd1740a88a47ad98e132d238",
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238"
}
}

View File

@ -1,27 +0,0 @@
{
"pools": [
{
"lb_algorithm": "ROUND_ROBIN",
"protocol": "HTTP",
"description": "",
"healthmonitor_id": "b7633ade-24dc-4d72-8475-06aa22be5412",
"session_persistence": {
"cookie_name": null,
"type": "SOURCE_IP"
},
"listeners": [
{
"id": "023f2e34-7806-443b-bfae-16c324569a3d"
}
],
"members": [
"cf024846-7516-4e3a-b0fb-6590322c836f"
],
"id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
"name": "pool1",
"admin_state_up": true,
"project_id": "eabfefa3fd1740a88a47ad98e132d238",
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238"
}
]
}

View File

@ -1,25 +0,0 @@
{
"pools": [
{
"admin_state_up": true,
"description": "simple pool",
"healthmonitor_id": null,
"id": "4c0a0a5f-cf8f-44b7-b912-957daa8ce5e5",
"lb_algorithm": "ROUND_ROBIN",
"listeners": [
{
"id": "35cb8516-1173-4035-8dae-0dae3453f37f"
}
],
"session_persistence": {
"cookie_name": null,
"type": "SOURCE_IP"
},
"members": [],
"name": "pool1",
"protocol": "HTTP",
"project_id": "1a3e005cf9ce40308c900bcb08e5320c",
"tenant_id": "1a3e005cf9ce40308c900bcb08e5320c"
}
]
}

View File

@ -1,10 +0,0 @@
{
"vip": {
"protocol": "HTTP",
"name": "NewVip",
"admin_state_up": true,
"subnet_id": "0ba2ef27-0054-4b28-a8fa-f215e8079272",
"pool_id": "105320c3-8416-4997-9c1c-4098b95fdaca",
"protocol_port": "80"
}
}

View File

@ -1,20 +0,0 @@
{
"vip": {
"status": "PENDING_CREATE",
"protocol": "HTTP",
"description": "",
"address": "10.0.0.4",
"protocol_port": 80,
"port_id": "0ba4cd9c-edb4-4594-bac4-b68b49d5f04c",
"id": "fa0373e0-9dd4-4ff7-98fc-8cceca9bdb4e",
"status_description": null,
"name": "NewVip",
"admin_state_up": true,
"subnet_id": "0ba2ef27-0054-4b28-a8fa-f215e8079272",
"project_id": "e68c3e65e1f34ee9b2357d0fe418a78b",
"tenant_id": "e68c3e65e1f34ee9b2357d0fe418a78b",
"connection_limit": -1,
"pool_id": "105320c3-8416-4997-9c1c-4098b95fdaca",
"session_persistence": null
}
}

View File

@ -1,20 +0,0 @@
{
"vip": {
"status": "ACTIVE",
"protocol": "HTTP",
"description": "",
"address": "10.0.0.4",
"protocol_port": 80,
"port_id": "5328aeea-2988-41c0-b5fe-0fd0660979d3",
"id": "388c739a-6a57-4e74-bc7b-a5cd60248bba",
"status_description": null,
"name": "my-Vip",
"admin_state_up": true,
"subnet_id": "aa547115-d710-4d6d-bb2c-b038d9c2704b",
"project_id": "eabfefa3fd1740a88a47ad98e132d238",
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
"connection_limit": -1,
"pool_id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
"session_persistence": null
}
}

View File

@ -1,5 +0,0 @@
{
"vip": {
"connection_limit": "1000"
}
}

View File

@ -1,20 +0,0 @@
{
"vip": {
"status": "PENDING_UPDATE",
"protocol": "HTTP",
"description": "",
"address": "10.0.0.4",
"protocol_port": 80,
"port_id": "0ba4cd9c-edb4-4594-bac4-b68b49d5f04c",
"id": "fa0373e0-9dd4-4ff7-98fc-8cceca9bdb4e",
"status_description": null,
"name": "NewVip",
"admin_state_up": true,
"subnet_id": "0ba2ef27-0054-4b28-a8fa-f215e8079272",
"project_id": "e68c3e65e1f34ee9b2357d0fe418a78b",
"tenant_id": "e68c3e65e1f34ee9b2357d0fe418a78b",
"connection_limit": 1000,
"pool_id": "105320c3-8416-4997-9c1c-4098b95fdaca",
"session_persistence": null
}
}

View File

@ -1,22 +0,0 @@
{
"vips": [
{
"status": "ACTIVE",
"protocol": "HTTP",
"description": "",
"address": "10.0.0.4",
"protocol_port": 80,
"port_id": "5328aeea-2988-41c0-b5fe-0fd0660979d3",
"id": "388c739a-6a57-4e74-bc7b-a5cd60248bba",
"status_description": null,
"name": "my-Vip",
"admin_state_up": true,
"subnet_id": "aa547115-d710-4d6d-bb2c-b038d9c2704b",
"project_id": "eabfefa3fd1740a88a47ad98e132d238",
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
"connection_limit": -1,
"pool_id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
"session_persistence": null
}
]
}

View File

@ -1,7 +1,7 @@
{
"service_providers": [
{
"service_type": "LOADBALANCER",
"service_type": "FIREWALL",
"default": true,
"name": "haproxy"
}

View File

@ -36,7 +36,7 @@ callback-based system, where the same objects are allowed to cooperate in a
loose manner.
This is particularly important since the spin off of the advanced services like
VPN, Firewall and Load Balancer, where each service's codebase lives independently
VPN and Firewall, where each service's codebase lives independently
from the core and from one another. This means that the tight coupling is no longer
a practical solution for object cooperation. In addition to this, if more services
are developed independently, there is no viable integration between them and the

View File

@ -59,6 +59,8 @@ DEVICE_OWNER_AGENT_GW = (DEVICE_OWNER_NETWORK_PREFIX +
"floatingip_agent_gateway")
DEVICE_OWNER_ROUTER_SNAT = (DEVICE_OWNER_NETWORK_PREFIX +
"router_centralized_snat")
# TODO(johnsom) Remove after these stop being used. Neutron-LBaaS is now
# retired (train) and these should no longer be necessary.
DEVICE_OWNER_LOADBALANCER = DEVICE_OWNER_NEUTRON_PREFIX + "LOADBALANCER"
DEVICE_OWNER_LOADBALANCERV2 = DEVICE_OWNER_NEUTRON_PREFIX + "LOADBALANCERV2"
@ -109,7 +111,6 @@ AGENT_TYPE_OVS = 'Open vSwitch agent'
AGENT_TYPE_LINUXBRIDGE = 'Linux bridge agent'
AGENT_TYPE_OFA = 'OFA driver agent'
AGENT_TYPE_L3 = 'L3 agent'
AGENT_TYPE_LOADBALANCER = 'Loadbalancer agent'
AGENT_TYPE_METERING = 'Metering agent'
AGENT_TYPE_METADATA = 'Metadata agent'
AGENT_TYPE_NIC_SWITCH = 'NIC Switch agent'
@ -126,7 +127,6 @@ DVR_SNAT_BOUND = 'dvr_snat_bound'
PORT_BINDING_EXT_ALIAS = 'binding'
L3_AGENT_SCHEDULER_EXT_ALIAS = 'l3_agent_scheduler'
DHCP_AGENT_SCHEDULER_EXT_ALIAS = 'dhcp_agent_scheduler'
LBAAS_AGENT_SCHEDULER_EXT_ALIAS = 'lbaas_agent_scheduler'
L3_DISTRIBUTED_EXT_ALIAS = 'dvr'
L3_HA_MODE_EXT_ALIAS = 'l3-ha'
SUBNET_ALLOCATION_EXT_ALIAS = 'subnet_allocation'

View File

@ -13,8 +13,6 @@
# under the License.
# Well-known service type constants:
LOADBALANCER = "LOADBALANCER"
LOADBALANCERV2 = "LOADBALANCERV2"
FIREWALL = "FIREWALL"
VPN = "VPN"
METERING = "METERING"
@ -27,3 +25,8 @@ PORTFORWARDING = "PORTFORWARDING"
FLOATINGIPPOOL = "FLOATINGIPPOOL"
NETWORK_SEGMENT_RANGE = "NETWORK_SEGMENT_RANGE"
CONNTRACKHELPER = "CONNTRACKHELPER"
# TODO(johnsom) Remove after these stop being used. Neutron-LBaaS is now
# retired (train) and these should no longer be necessary.
LOADBALANCER = "LOADBALANCER"
LOADBALANCERV2 = "LOADBALANCERV2"