api-ref: Fix LBaaS v1 API reference
LBaaS v1 support was removed in Newton release, but there are still users of LBaaS v1 API. It looks reasonable to maintain it with minimum effort rather than dropping it. This commit fixes LBaaS v1 API document with rough checks. Note that project_id field is not listed in LBaaS v1 API intentionally as project_id field was added in Newton release. Part of blueprint neutron-in-tree-api-ref Change-Id: I82d8f00f726247eb305a6b7207ae1bd2262fe296
This commit is contained in:
@@ -56,5 +56,5 @@ Quality of Service
|
||||
##########################
|
||||
Load Balancer as a Service
|
||||
##########################
|
||||
.. include:: lbaas-v1.inc
|
||||
.. include:: lbaas-v2.inc
|
||||
.. include:: lbaas-v1.inc
|
||||
|
File diff suppressed because it is too large
Load Diff
@@ -1282,7 +1282,7 @@ Request
|
||||
- member_id: member_id-path
|
||||
- member: member
|
||||
- admin_state_up: admin_state_up
|
||||
- weight: weight
|
||||
- weight: member-weight-request
|
||||
|
||||
Request Example
|
||||
---------------
|
||||
@@ -1379,12 +1379,12 @@ Response Parameters
|
||||
|
||||
.. rest_parameters:: parameters.yaml
|
||||
|
||||
- health_monitors: health_monitors
|
||||
- health_monitors: health_monitors-obj
|
||||
- admin_state_up: admin_state_up
|
||||
- delay: delay
|
||||
- expected_codes: expected_codes-response
|
||||
- http_method: http_method
|
||||
- id: health_monitors-id
|
||||
- id: health_monitor-id
|
||||
- max_retries: max_retries
|
||||
- pools: pools
|
||||
- project_id: project_id
|
||||
@@ -1497,7 +1497,7 @@ Response Parameters
|
||||
- delay: delay
|
||||
- expected_codes: expected_codes-response
|
||||
- http_method: http_method
|
||||
- id: health_monitors-id
|
||||
- id: health_monitor-id
|
||||
- max_retries: max_retries
|
||||
- pools: pools
|
||||
- project_id: project_id
|
||||
@@ -1548,7 +1548,7 @@ Response Parameters
|
||||
- expected_codes: expected_codes-response
|
||||
- http_method: http_method
|
||||
- max_retries: max_retries
|
||||
- id: health_monitors-id
|
||||
- id: health_monitor-id
|
||||
- pools: pools
|
||||
- project_id: project_id
|
||||
- tenant_id: project_id
|
||||
@@ -1613,7 +1613,7 @@ Response Parameters
|
||||
- expected_codes: expected_codes-response
|
||||
- http_method: http_method
|
||||
- max_retries: max_retries
|
||||
- id: health_monitors-id
|
||||
- id: health_monitor-id
|
||||
- pools: pools
|
||||
- project_id: project_id
|
||||
- tenant_id: project_id
|
||||
|
@@ -73,12 +73,6 @@ floatingip-id-path:
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
health_monitor_id:
|
||||
description: |
|
||||
The UUID for the health monitor.
|
||||
in: path
|
||||
required: false
|
||||
type: string
|
||||
health_monitor_id-path:
|
||||
description: |
|
||||
The ID for the health monitor.
|
||||
@@ -109,12 +103,6 @@ loadbalancer-id-path:
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
member_id:
|
||||
description: |
|
||||
The UUID for the member.
|
||||
in: path
|
||||
required: false
|
||||
type: string
|
||||
member_id-path:
|
||||
description: |
|
||||
The ID for the member.
|
||||
@@ -151,12 +139,6 @@ policy_id:
|
||||
in: path
|
||||
required: false
|
||||
type: string
|
||||
pool_id:
|
||||
description: |
|
||||
The UUID for the pool.
|
||||
in: path
|
||||
required: false
|
||||
type: string
|
||||
pool_id-path:
|
||||
description: |
|
||||
The ID for the pool.
|
||||
@@ -259,11 +241,11 @@ trunk_id:
|
||||
in: path
|
||||
required: true
|
||||
type: string
|
||||
vip_id_1:
|
||||
vip_id-path:
|
||||
description: |
|
||||
The UUID for the VIP.
|
||||
The ID for the VIP.
|
||||
in: path
|
||||
required: false
|
||||
required: true
|
||||
type: string
|
||||
vpnservice_id-path:
|
||||
description: |
|
||||
@@ -322,20 +304,6 @@ address:
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
address_1:
|
||||
description: |
|
||||
The IP address of the VIP.
|
||||
format: ipv4
|
||||
in: body
|
||||
required: false
|
||||
type: string
|
||||
address_2:
|
||||
description: |
|
||||
The IP address of the VIP.
|
||||
format: ipv4
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
address_scope_id:
|
||||
description: |
|
||||
An address scope to assign to the subnet pool.
|
||||
@@ -1343,8 +1311,13 @@ expected_codes:
|
||||
description: |
|
||||
The list of HTTP status codes expected in
|
||||
response from the member to declare it healthy. Specify one of the
|
||||
following values: - A single value, such as 200. - A list, such
|
||||
as 200, 202. - A range, such as 200-204.
|
||||
following values:
|
||||
|
||||
- A single value, such as ``200``
|
||||
- A list, such as ``200, 202``
|
||||
- A range, such as ``200-204``
|
||||
|
||||
The default is 200.
|
||||
in: body
|
||||
required: false
|
||||
type: string
|
||||
@@ -1352,8 +1325,13 @@ expected_codes-response:
|
||||
description: |
|
||||
The list of HTTP status codes expected in
|
||||
response from the member to declare it healthy. Specify one of the
|
||||
following values: - A single value, such as 200. - A list, such
|
||||
as 200, 202. - A range, such as 200-204.
|
||||
following values:
|
||||
|
||||
- A single value, such as ``200``
|
||||
- A list, such as ``200, 202``
|
||||
- A range, such as ``200-204``
|
||||
|
||||
The default is 200.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
@@ -2172,29 +2150,28 @@ health_monitor:
|
||||
in: body
|
||||
required: true
|
||||
type: object
|
||||
health_monitors:
|
||||
description: |
|
||||
List of health monitors that are associated with
|
||||
the pool.
|
||||
in: body
|
||||
required: true
|
||||
type: array
|
||||
health_monitors-id:
|
||||
health_monitor-id:
|
||||
description: |
|
||||
The ID of the associated health monitor.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
health_monitors-response:
|
||||
health_monitors-obj:
|
||||
description: |
|
||||
List of health monitors that are associated with
|
||||
the pool.
|
||||
A list of ``health_monitor`` objects.
|
||||
in: body
|
||||
required: true
|
||||
type: array
|
||||
health_monitors_1:
|
||||
health_monitors-request:
|
||||
description: |
|
||||
A list of ``health_monitor`` objects.
|
||||
List of health monitors to be associated with the pool.
|
||||
The default is an empty list.
|
||||
in: body
|
||||
required: false
|
||||
type: array
|
||||
health_monitors-response:
|
||||
description: |
|
||||
List of health monitors that are associated with the pool.
|
||||
in: body
|
||||
required: true
|
||||
type: array
|
||||
@@ -2219,8 +2196,14 @@ healthmonitor_id:
|
||||
type: string
|
||||
http_method:
|
||||
description: |
|
||||
The HTTP method that the monitor uses for
|
||||
requests.
|
||||
The HTTP method that the monitor uses for requests.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
http_method-request:
|
||||
description: |
|
||||
The HTTP method that the monitor uses for requests.
|
||||
The default is ``GET``.
|
||||
in: body
|
||||
required: false
|
||||
type: string
|
||||
@@ -2552,6 +2535,17 @@ lb_method:
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
lb_method-request-put:
|
||||
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: false
|
||||
type: string
|
||||
lifetime:
|
||||
description: |
|
||||
The lifetime of the security association. The
|
||||
@@ -2734,6 +2728,18 @@ member-id-response:
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
member-pool_id:
|
||||
description: |
|
||||
The ID of the pool which the member belongs to.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
member-pool_id-request:
|
||||
description: |
|
||||
The ID of the pool which the member belongs to.
|
||||
in: body
|
||||
required: false
|
||||
type: string
|
||||
member-status:
|
||||
description: |
|
||||
The status of the member. Indicates whether the
|
||||
@@ -2745,19 +2751,33 @@ 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. A value of 0 means the member does not participate in
|
||||
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
|
||||
members_1:
|
||||
members-obj:
|
||||
description: |
|
||||
A list of ``member`` objects.
|
||||
in: body
|
||||
@@ -3355,6 +3375,25 @@ pool-id-response:
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
pool-protocol:
|
||||
description: |
|
||||
The protocol of the pool, which is ``TCP``,
|
||||
``HTTP``, or ``HTTPS``.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
pool-provider:
|
||||
description: |
|
||||
The provider name of the load balancer pool.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
pool-provider-request:
|
||||
description: |
|
||||
The provider name of the load balancer pool.
|
||||
in: body
|
||||
required: false
|
||||
type: string
|
||||
pool-status:
|
||||
description: |
|
||||
The status of the pool. Indicates whether the
|
||||
@@ -3413,12 +3452,6 @@ port_id_1:
|
||||
in: body
|
||||
required: false
|
||||
type: string
|
||||
port_id_2:
|
||||
description: |
|
||||
The UUID of the VIP port.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
port_id_4:
|
||||
description: |
|
||||
The UUID of the port.
|
||||
@@ -3584,13 +3617,6 @@ protocol_1:
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
protocol_2:
|
||||
description: |
|
||||
The protocol of the pool, which is ``TCP``,
|
||||
``HTTP``, or ``HTTPS``.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
protocol_3:
|
||||
description: |
|
||||
The protocol that is matched by the security
|
||||
@@ -3606,13 +3632,6 @@ protocol_4:
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
protocol_5:
|
||||
description: |
|
||||
The protocol of the virtual IP (VIP) address. A
|
||||
valid value is ``TCP``, ``HTTP``, or ``HTTPS``.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
protocol_6:
|
||||
description: |
|
||||
The IP protocol. Value is ``icmp``, ``tcp``,
|
||||
@@ -3632,12 +3651,6 @@ protocol_port-request:
|
||||
in: body
|
||||
required: false
|
||||
type: integer
|
||||
provider:
|
||||
description: |
|
||||
The name of the provider.
|
||||
in: body
|
||||
required: false
|
||||
type: string
|
||||
provider:network_type:
|
||||
description: |
|
||||
The type of physical network that maps to this
|
||||
@@ -4322,49 +4335,6 @@ service_type_1:
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
session_persistence:
|
||||
description: |
|
||||
The session persistence algorithm. This algorithm
|
||||
is a dictionary with type and cookie_name keys.
|
||||
in: body
|
||||
required: false
|
||||
type: object
|
||||
session_persistence_1:
|
||||
description: |
|
||||
Session persistence parameters for the VIP. Omit
|
||||
the ``session_persistence`` parameter to prevent session
|
||||
persistence. When no session persistence is used, the
|
||||
``session_persistence`` parameter does not appear in the API
|
||||
response. To clear session persistence for the VIP, set the
|
||||
``session_persistence`` parameter to ``null`` in a VIP update
|
||||
request.
|
||||
in: body
|
||||
required: false
|
||||
type: object
|
||||
session_persistence_2:
|
||||
description: |
|
||||
Session persistence parameters for the VIP. Omit
|
||||
the ``session_persistence`` parameter to prevent session
|
||||
persistence. When no session persistence is used, the
|
||||
``session_persistence`` parameter does not appear in the API
|
||||
response. To clear session persistence for the VIP, set the
|
||||
``session_persistence`` parameter to ``null`` in a VIP update
|
||||
request.
|
||||
in: body
|
||||
required: true
|
||||
type: object
|
||||
session_persistence_3:
|
||||
description: |
|
||||
Session persistence parameters for the VIP. Omit
|
||||
the ``session_persistence`` parameter to prevent session
|
||||
persistence. When no session persistence is used, the
|
||||
``session_persistence`` parameter does not appear in the API
|
||||
response. To clear session persistence for the VIP, set the
|
||||
``session_persistence`` parameter to ``null`` in a VIP update
|
||||
request.
|
||||
in: body
|
||||
required: false
|
||||
type: object
|
||||
shared:
|
||||
description: |
|
||||
Admin-only. Indicates whether this network is
|
||||
@@ -5199,7 +5169,7 @@ 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 (/).
|
||||
begins with a forward slash (``/``).
|
||||
in: body
|
||||
required: false
|
||||
type: string
|
||||
@@ -5207,7 +5177,7 @@ 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 (/).
|
||||
a forward slash (``/``). The default is ``/``.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
@@ -5278,6 +5248,73 @@ vip:
|
||||
in: body
|
||||
required: true
|
||||
type: object
|
||||
vip-address:
|
||||
description: |
|
||||
The IP address of the VIP.
|
||||
format: ipv4
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
vip-address-request:
|
||||
description: |
|
||||
The IP address of the VIP.
|
||||
format: ipv4
|
||||
in: body
|
||||
required: false
|
||||
type: string
|
||||
vip-id:
|
||||
description: |
|
||||
The ID of the virtual IP (VIP) address.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
vip-pool_id:
|
||||
description: |
|
||||
The ID of the pool which the VIP belongs to.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
vip-pool_id-request:
|
||||
description: |
|
||||
The ID of the pool which the VIP belongs to.
|
||||
in: body
|
||||
required: false
|
||||
type: string
|
||||
vip-port_id:
|
||||
description: |
|
||||
The ID of the VIP port.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
vip-protocol:
|
||||
description: |
|
||||
The protocol of the virtual IP (VIP) address. A
|
||||
valid value is ``TCP``, ``HTTP``, or ``HTTPS``.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
vip-session_persistence:
|
||||
description: |
|
||||
Session persistence parameters for the VIP. Omit
|
||||
the ``session_persistence`` parameter to prevent session
|
||||
persistence. When no session persistence is used, the
|
||||
``session_persistence`` parameter does not appear in the API
|
||||
response.
|
||||
in: body
|
||||
required: true
|
||||
type: object
|
||||
vip-session_persistence-request:
|
||||
description: |
|
||||
Session persistence parameters for the VIP. Omit
|
||||
the ``session_persistence`` parameter to prevent session
|
||||
persistence. When no session persistence is used, the
|
||||
``session_persistence`` parameter does not appear in the API
|
||||
response. To clear session persistence for the VIP, set the
|
||||
``session_persistence`` parameter to ``null`` in a VIP update
|
||||
request. The default is no session persistence.
|
||||
in: body
|
||||
required: false
|
||||
type: object
|
||||
vip-status:
|
||||
description: |
|
||||
The status of the VIP. Indicates whether the VIP
|
||||
@@ -5285,6 +5322,13 @@ vip-status:
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
vip-subnet_id:
|
||||
description: |
|
||||
The ID of the subnet on which to allocate the
|
||||
virtual IP (VIP) address.
|
||||
in: body
|
||||
required: true
|
||||
type: string
|
||||
vip_address:
|
||||
description: |
|
||||
The IP address of the VIP .
|
||||
@@ -5366,22 +5410,3 @@ vpnservices:
|
||||
in: body
|
||||
required: true
|
||||
type: array
|
||||
weight:
|
||||
description: |
|
||||
A positive integer value that indicates the
|
||||
relative portion of traffic that this member should receive from
|
||||
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.
|
||||
in: body
|
||||
required: false
|
||||
type: integer
|
||||
weight_1:
|
||||
description: |
|
||||
The weight of a member determines the portion of
|
||||
requests or connections it services compared to the other members
|
||||
of the pool. 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: false
|
||||
type: integer
|
||||
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"health_monitor": {
|
||||
"id": "b624decf-d5d3-4c66-9a3d-f047e7786181"
|
||||
}
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"health_monitor": {}
|
||||
}
|
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"health_monitor": {
|
||||
"admin_state_up": true,
|
||||
"delay": 1,
|
||||
"expected_codes": "200,201,202",
|
||||
"http_method": "GET",
|
||||
"max_retries": 5,
|
||||
"pool_id": "74aa2010-a59f-4d35-a436-60a6da882819",
|
||||
"timeout": 1,
|
||||
"type": "HTTP",
|
||||
"url_path": "/index.html"
|
||||
}
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"health_monitor": {
|
||||
"admin_state_up": true,
|
||||
"delay": 1,
|
||||
"expected_codes": "200,201,202",
|
||||
"http_method": "GET",
|
||||
"id": "b7633ade-24dc-4d72-8475-06aa22be5412",
|
||||
"max_retries": 5,
|
||||
"pools": [],
|
||||
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
|
||||
"timeout": 1,
|
||||
"type": "HTTP",
|
||||
"url_path": "/index.html"
|
||||
}
|
||||
}
|
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"health_monitor": {
|
||||
"admin_state_up": true,
|
||||
"delay": 1,
|
||||
"expected_codes": "200,201,202",
|
||||
"http_method": "GET",
|
||||
"id": "b7633ade-24dc-4d72-8475-06aa22be5412",
|
||||
"max_retries": 5,
|
||||
"pools": [
|
||||
{
|
||||
"pool_id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
|
||||
"status": "ACTIVE",
|
||||
"status_description": null
|
||||
}
|
||||
],
|
||||
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
|
||||
"timeout": 1,
|
||||
"type": "HTTP",
|
||||
"url_path": "/index.html"
|
||||
}
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"health_monitor": {
|
||||
"admin_state_up": false,
|
||||
"delay": 2,
|
||||
"expected_codes": "200",
|
||||
"http_method": "POST",
|
||||
"max_retries": 2,
|
||||
"timeout": 2,
|
||||
"url_path": "/page.html"
|
||||
}
|
||||
}
|
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"health_monitor": {
|
||||
"admin_state_up": false,
|
||||
"delay": 2,
|
||||
"expected_codes": "200",
|
||||
"http_method": "POST",
|
||||
"id": "b7633ade-24dc-4d72-8475-06aa22be5412",
|
||||
"max_retries": 2,
|
||||
"pools": [
|
||||
{
|
||||
"pool_id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
|
||||
"status": "ACTIVE",
|
||||
"status_description": null
|
||||
}
|
||||
],
|
||||
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
|
||||
"timeout": 2,
|
||||
"type": "HTTP",
|
||||
"url_path": "/page.html"
|
||||
}
|
||||
}
|
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"health_monitors": [
|
||||
{
|
||||
"admin_state_up": true,
|
||||
"delay": 1,
|
||||
"expected_codes": "200,201,202",
|
||||
"http_method": "GET",
|
||||
"id": "b7633ade-24dc-4d72-8475-06aa22be5412",
|
||||
"max_retries": 5,
|
||||
"pools": [
|
||||
{
|
||||
"pool_id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
|
||||
"status": "ACTIVE",
|
||||
"status_description": null
|
||||
}
|
||||
],
|
||||
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
|
||||
"timeout": 1,
|
||||
"type": "HTTP",
|
||||
"url_path": "/index.html"
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"member": {
|
||||
"address": "10.0.0.22",
|
||||
"admin_state_up": true,
|
||||
"pool_id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
|
||||
"protocol_port": 90,
|
||||
"weight": 1
|
||||
}
|
||||
}
|
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"member": {
|
||||
"address": "10.0.0.22",
|
||||
"admin_state_up": true,
|
||||
"id": "cf024846-7516-4e3a-b0fb-6590322c836f",
|
||||
"pool_id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
|
||||
"protocol_port": 90,
|
||||
"status": "ACTIVE",
|
||||
"status_description": null,
|
||||
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
|
||||
"weight": 1
|
||||
}
|
||||
}
|
13
api-ref/source/v2/samples/lbaas-v1/member-show-response.json
Normal file
13
api-ref/source/v2/samples/lbaas-v1/member-show-response.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"member": {
|
||||
"address": "10.0.1.22",
|
||||
"admin_state_up": true,
|
||||
"id": "cf024846-7516-4e3a-b0fb-6590322c836f",
|
||||
"pool_id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
|
||||
"protocol_port": 90,
|
||||
"status": "ACTIVE",
|
||||
"status_description": null,
|
||||
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
|
||||
"weight": 1
|
||||
}
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"member": {
|
||||
"weight": 5
|
||||
}
|
||||
}
|
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"member": {
|
||||
"address": "10.0.0.22",
|
||||
"admin_state_up": true,
|
||||
"id": "cf024846-7516-4e3a-b0fb-6590322c836f",
|
||||
"pool_id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
|
||||
"protocol_port": 90,
|
||||
"status": "ACTIVE",
|
||||
"status_description": null,
|
||||
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
|
||||
"weight": 5
|
||||
}
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"members": [
|
||||
{
|
||||
"address": "10.0.1.22",
|
||||
"admin_state_up": true,
|
||||
"id": "cf024846-7516-4e3a-b0fb-6590322c836f",
|
||||
"pool_id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
|
||||
"protocol_port": 90,
|
||||
"status": "ACTIVE",
|
||||
"status_description": null,
|
||||
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
|
||||
"weight": 1
|
||||
}
|
||||
]
|
||||
}
|
10
api-ref/source/v2/samples/lbaas-v1/pool-create-request.json
Normal file
10
api-ref/source/v2/samples/lbaas-v1/pool-create-request.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"pool": {
|
||||
"admin_state_up": true,
|
||||
"description": "simple pool",
|
||||
"lb_method": "ROUND_ROBIN",
|
||||
"name": "my-pool",
|
||||
"protocol": "HTTP",
|
||||
"subnet_id": "e301aed0-d9e7-498a-977c-1bbfaf14ed5d"
|
||||
}
|
||||
}
|
19
api-ref/source/v2/samples/lbaas-v1/pool-create-response.json
Normal file
19
api-ref/source/v2/samples/lbaas-v1/pool-create-response.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"pool": {
|
||||
"admin_state_up": true,
|
||||
"description": "simple pool",
|
||||
"health_monitors": [],
|
||||
"health_monitors_status": [],
|
||||
"id": "af95e0ce-8a26-4f29-9524-db41e7769c73",
|
||||
"lb_method": "ROUND_ROBIN",
|
||||
"members": [],
|
||||
"name": "my-pool",
|
||||
"protocol": "HTTP",
|
||||
"provider": "haproxy",
|
||||
"status": "PENDING_CREATE",
|
||||
"status_description": null,
|
||||
"subnet_id": "e301aed0-d9e7-498a-977c-1bbfaf14ed5d",
|
||||
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
|
||||
"vip_id": null
|
||||
}
|
||||
}
|
29
api-ref/source/v2/samples/lbaas-v1/pool-show-response.json
Normal file
29
api-ref/source/v2/samples/lbaas-v1/pool-show-response.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"pool": {
|
||||
"admin_state_up": true,
|
||||
"description": "",
|
||||
"health_monitors": [
|
||||
"b7633ade-24dc-4d72-8475-06aa22be5412"
|
||||
],
|
||||
"health_monitors_status": [
|
||||
{
|
||||
"monitor_id": "b7633ade-24dc-4d72-8475-06aa22be5412",
|
||||
"status": "ACTIVE",
|
||||
"status_description": null
|
||||
}
|
||||
],
|
||||
"id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
|
||||
"lb_method": "ROUND_ROBIN",
|
||||
"members": [
|
||||
"cf024846-7516-4e3a-b0fb-6590322c836f"
|
||||
],
|
||||
"name": "pool1",
|
||||
"protocol": "HTTP",
|
||||
"provider": "haproxy",
|
||||
"status": "ACTIVE",
|
||||
"status_description": null,
|
||||
"subnet_id": "aa547115-d710-4d6d-bb2c-b038d9c2704b",
|
||||
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
|
||||
"vip_id": "388c739a-6a57-4e74-bc7b-a5cd60248bba"
|
||||
}
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"pool": {
|
||||
"name": "SuperPool"
|
||||
}
|
||||
}
|
30
api-ref/source/v2/samples/lbaas-v1/pool-update-response.json
Normal file
30
api-ref/source/v2/samples/lbaas-v1/pool-update-response.json
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"pool": {
|
||||
"admin_state_up": true,
|
||||
"description": "",
|
||||
"health_monitors": [
|
||||
"b7633ade-24dc-4d72-8475-06aa22be5412"
|
||||
],
|
||||
"health_monitors_status": [
|
||||
{
|
||||
"monitor_id": "b7633ade-24dc-4d72-8475-06aa22be5412",
|
||||
"status": "ACTIVE",
|
||||
"status_description": null
|
||||
}
|
||||
],
|
||||
"id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
|
||||
"lb_algorithm": "ROUND_ROBIN",
|
||||
"members": [
|
||||
"cf024846-7516-4e3a-b0fb-6590322c836f"
|
||||
],
|
||||
"name": "SuperPool",
|
||||
"project_id": "eabfefa3fd1740a88a47ad98e132d238",
|
||||
"protocol": "HTTP",
|
||||
"provider": "haproxy",
|
||||
"status": "PENDING_UPDATE",
|
||||
"status_description": null,
|
||||
"subnet_id": "aa547115-d710-4d6d-bb2c-b038d9c2704b",
|
||||
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
|
||||
"vip_id": "388c739a-6a57-4e74-bc7b-a5cd60248bba"
|
||||
}
|
||||
}
|
31
api-ref/source/v2/samples/lbaas-v1/pools-list-response.json
Normal file
31
api-ref/source/v2/samples/lbaas-v1/pools-list-response.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"pools": [
|
||||
{
|
||||
"admin_state_up": true,
|
||||
"description": "",
|
||||
"health_monitors": [
|
||||
"b7633ade-24dc-4d72-8475-06aa22be5412"
|
||||
],
|
||||
"health_monitors_status": [
|
||||
{
|
||||
"monitor_id": "b7633ade-24dc-4d72-8475-06aa22be5412",
|
||||
"status": "ACTIVE",
|
||||
"status_description": null
|
||||
}
|
||||
],
|
||||
"id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
|
||||
"lb_method": "ROUND_ROBIN",
|
||||
"members": [
|
||||
"cf024846-7516-4e3a-b0fb-6590322c836f"
|
||||
],
|
||||
"name": "pool1",
|
||||
"protocol": "HTTP",
|
||||
"provider": "haproxy",
|
||||
"status": "ACTIVE",
|
||||
"status_description": null,
|
||||
"subnet_id": "aa547115-d710-4d6d-bb2c-b038d9c2704b",
|
||||
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238",
|
||||
"vip_id": "388c739a-6a57-4e74-bc7b-a5cd60248bba"
|
||||
}
|
||||
]
|
||||
}
|
10
api-ref/source/v2/samples/lbaas-v1/vip-create-request.json
Normal file
10
api-ref/source/v2/samples/lbaas-v1/vip-create-request.json
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"vip": {
|
||||
"admin_state_up": true,
|
||||
"name": "NewVip",
|
||||
"pool_id": "105320c3-8416-4997-9c1c-4098b95fdaca",
|
||||
"protocol": "HTTP",
|
||||
"protocol_port": "80",
|
||||
"subnet_id": "0ba2ef27-0054-4b28-a8fa-f215e8079272"
|
||||
}
|
||||
}
|
19
api-ref/source/v2/samples/lbaas-v1/vip-create-response.json
Normal file
19
api-ref/source/v2/samples/lbaas-v1/vip-create-response.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"vip": {
|
||||
"address": "10.0.0.4",
|
||||
"admin_state_up": true,
|
||||
"connection_limit": -1,
|
||||
"description": "",
|
||||
"id": "fa0373e0-9dd4-4ff7-98fc-8cceca9bdb4e",
|
||||
"name": "NewVip",
|
||||
"pool_id": "105320c3-8416-4997-9c1c-4098b95fdaca",
|
||||
"port_id": "0ba4cd9c-edb4-4594-bac4-b68b49d5f04c",
|
||||
"protocol": "HTTP",
|
||||
"protocol_port": 80,
|
||||
"session_persistence": null,
|
||||
"status": "PENDING_CREATE",
|
||||
"status_description": null,
|
||||
"subnet_id": "0ba2ef27-0054-4b28-a8fa-f215e8079272",
|
||||
"tenant_id": "e68c3e65e1f34ee9b2357d0fe418a78b"
|
||||
}
|
||||
}
|
19
api-ref/source/v2/samples/lbaas-v1/vip-show-response.json
Normal file
19
api-ref/source/v2/samples/lbaas-v1/vip-show-response.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"vip": {
|
||||
"address": "10.0.0.4",
|
||||
"admin_state_up": true,
|
||||
"connection_limit": -1,
|
||||
"description": "",
|
||||
"id": "388c739a-6a57-4e74-bc7b-a5cd60248bba",
|
||||
"name": "my-Vip",
|
||||
"pool_id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
|
||||
"port_id": "5328aeea-2988-41c0-b5fe-0fd0660979d3",
|
||||
"protocol": "HTTP",
|
||||
"protocol_port": 80,
|
||||
"session_persistence": null,
|
||||
"status": "ACTIVE",
|
||||
"status_description": null,
|
||||
"subnet_id": "aa547115-d710-4d6d-bb2c-b038d9c2704b",
|
||||
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238"
|
||||
}
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"vip": {
|
||||
"connection_limit": "1000"
|
||||
}
|
||||
}
|
19
api-ref/source/v2/samples/lbaas-v1/vip-update-response.json
Normal file
19
api-ref/source/v2/samples/lbaas-v1/vip-update-response.json
Normal file
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"vip": {
|
||||
"address": "10.0.0.4",
|
||||
"admin_state_up": true,
|
||||
"connection_limit": 1000,
|
||||
"description": "",
|
||||
"id": "fa0373e0-9dd4-4ff7-98fc-8cceca9bdb4e",
|
||||
"name": "NewVip",
|
||||
"pool_id": "105320c3-8416-4997-9c1c-4098b95fdaca",
|
||||
"port_id": "0ba4cd9c-edb4-4594-bac4-b68b49d5f04c",
|
||||
"protocol": "HTTP",
|
||||
"protocol_port": 80,
|
||||
"session_persistence": null,
|
||||
"status": "PENDING_UPDATE",
|
||||
"status_description": null,
|
||||
"subnet_id": "0ba2ef27-0054-4b28-a8fa-f215e8079272",
|
||||
"tenant_id": "e68c3e65e1f34ee9b2357d0fe418a78b"
|
||||
}
|
||||
}
|
21
api-ref/source/v2/samples/lbaas-v1/vips-list-response.json
Normal file
21
api-ref/source/v2/samples/lbaas-v1/vips-list-response.json
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"vips": [
|
||||
{
|
||||
"address": "10.0.0.4",
|
||||
"admin_state_up": true,
|
||||
"connection_limit": -1,
|
||||
"description": "",
|
||||
"id": "388c739a-6a57-4e74-bc7b-a5cd60248bba",
|
||||
"name": "my-Vip",
|
||||
"pool_id": "5a9a3e9e-d1aa-448e-af37-a70171f2a332",
|
||||
"port_id": "5328aeea-2988-41c0-b5fe-0fd0660979d3",
|
||||
"protocol": "HTTP",
|
||||
"protocol_port": 80,
|
||||
"session_persistence": null,
|
||||
"status": "ACTIVE",
|
||||
"status_description": null,
|
||||
"subnet_id": "aa547115-d710-4d6d-bb2c-b038d9c2704b",
|
||||
"tenant_id": "eabfefa3fd1740a88a47ad98e132d238"
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user