diff --git a/api-ref/source/v2/flavors.inc b/api-ref/source/v2/flavors.inc index f9608d72d..cba60e903 100644 --- a/api-ref/source/v2/flavors.inc +++ b/api-ref/source/v2/flavors.inc @@ -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 diff --git a/api-ref/source/v2/index.rst b/api-ref/source/v2/index.rst index 5136c4118..9d0fb70b9 100644 --- a/api-ref/source/v2/index.rst +++ b/api-ref/source/v2/index.rst @@ -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 +`_. The `Octavia API v2 +`_ 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) ##################################### diff --git a/api-ref/source/v2/lbaas-v2.inc b/api-ref/source/v2/lbaas-v2.inc deleted file mode 100644 index 3696e91c1..000000000 --- a/api-ref/source/v2/lbaas-v2.inc +++ /dev/null @@ -1,1683 +0,0 @@ -.. -*- rst -*- - -.. warning:: - Neutron-lbaas is deprecated as of Queens. Load-Balancer-as-a-Service - (LBaaS v2) is now provided by the `Octavia project - `_. The `Octavia API v2 - `_ is - backwards compatible with the neutron-lbaas implementation of the LBaaS 2.0 - API. Please see the FAQ: - https://wiki.openstack.org/wiki/Neutron/LBaaS/Deprecation - -The Load-Balancer-as-a-Service (LBaaS) version 2.0 extension pairs with the -Networking 2.0 API to enable OpenStack projects to manage load balancers for -their VMs. With this extension you can load-balance client traffic from one -network to application services, such as VMs, on the same network. - -Use this extension to create and manage load balancers, listeners, pools, -members of a pool, and health monitors and view status of a resource. - -**Load balancer statuses** - -+----------------+--------------------------------------------------------------------+ -| Status | Description | -+----------------+--------------------------------------------------------------------+ -| ACTIVE | The resource is ready and active. | -+----------------+--------------------------------------------------------------------+ -| PENDING_CREATE | The resource is being created. | -+----------------+--------------------------------------------------------------------+ -| PENDING_UPDATE | The resource is being updated. | -+----------------+--------------------------------------------------------------------+ -| PENDING_DELETE | The resource is pending deletion. | -+----------------+--------------------------------------------------------------------+ -| INACTIVE | The resource is not active. | -+----------------+--------------------------------------------------------------------+ -| ERROR | An object within the service is not working. The ``error_details`` | -| | attribute provides an explanation for the error, its cause, and | -| | possibly a solution. | -+----------------+--------------------------------------------------------------------+ - -.. ============================================================ - -============== -Load balancers -============== - -List load balancers -=================== - -.. rest_method:: GET /v2.0/lbaas/loadbalancers - -Lists all load balancers for the project. - -Use the ``fields`` query parameter to control which fields are -returned in the response body. Additionally, you can filter results -by using query string parameters. For information, see `Filtering -and Column Selection `__. - -The list might be empty. - -Normal response codes: 200 - -Error response codes: 401 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - fields: fields - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - loadbalancers: loadbalancers - - admin_state_up: admin_state_up - - description: description - - flavor: flavor-id-response - - id: loadbalancer-id - - listeners: listeners - - name: name - - operating_status: operating_status - - project_id: project_id - - provider: loadbalancer-provider - - provisioning_status: provisioning_status - - tenant_id: project_id - - vip_address: vip_address - - vip_subnet_id: vip_subnet_id - - pools: pools-obj - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/loadbalancers-list-response.json - :language: javascript - -Create a load balancer -====================== - -.. rest_method:: POST /v2.0/lbaas/loadbalancers - -Creates a load balancer. - -This operation provisions a new load balancer by using the -configuration that you define in the request object. After the API -validates the request and starts the provisioning process, the API -returns a response object that contains a unique ID and the status -of provisioning the load balancer. - -In the response, the load balancer provisioning status is -``ACTIVE``, ``PENDING_CREATE``, or ``ERROR``. - -If the status is ``PENDING_CREATE``, issue GET -``/lbaas/loadbalancers/loadbalancer_id`` to view the progress of -the provisioning operation. When the load balancer status changes -to ``ACTIVE``, the load balancer is successfully provisioned and -operational for traffic handling. - -If the API cannot fulfill the request due to insufficient data or -data that is not valid, the service returns the HTTP ``Bad Request -(400)`` response code with information about the failure in the -response body. Validation errors require that you correct the error -and submit the request again. - -You can configure all documented features of the load balancer at -creation time by specifying the additional elements or attributes -in the request. - -Administrative users can specify a project ID that is different than -their own to create load balancers for other projects. - -**Example: Create a load balancer** - -- ``project_id``. Admin only. Required to create a load balancer for - another project. - -- ``vip_subnet_id``. The network on which to allocate the VIP - address for the load balancer. A project can only create load - balancer VIPs on networks that the policy authorizes, such as her - own networks or shared or provider networks. - -Some attributes receive default values if you omit them from the -request: - -- ``admin_state_up``. Default is ``true``. - -- ``name``. Default is an empty string. - -- ``description``. Default is an empty string. - -If you own the subnet where you want to create the load balancer -VIP, you can specify a ``vip_address`` attribute. If you omit the -``vip_address`` attribute from the payload, the LBaaS service -allocates a VIP address from the subnet of the load balancer VIP. - -An optional ``flavor`` attribute can be passed to enable dynamic -selection of an appropriate provider if configured by the operator. -The basic selection algorithm chooses the provider in the first -service profile currently associated with flavor. - -You can also specify the ``provider`` attribute when you create a -load balancer. You can set this attribute to any service provider -with a ``LOADBALANCER`` service type. Setting both a flavor and a -provider will result in a conflict error. - -Finally, ``vip_network_id`` can be used in place of -``vip_subnet_id``. When this option is used, the VIP port is -created on the given network using the default behavior. If -assigned multiple fixed IPs, an IPv4 addresses is chosen as the -VIP in preference to IPv6 addresses. - -Normal response codes: 201 - -Error response codes: 400, 401, 404 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - loadbalancer: loadbalancer - - admin_state_up: admin_state_up-request - - description: description-request - - flavor: flavor-id-request - - name: name-request - - project_id: project_id-request - - provider: loadbalancer-provider-request - - tenant_id: project_id-request - - vip_address: vip_address - - vip_subnet_id: vip_subnet_id - -Request Example ---------------- - -.. literalinclude:: samples/lbaas/loadbalancer-create-request.json - :language: javascript - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - loadbalancer: loadbalancer - - admin_state_up: admin_state_up - - description: description - - flavor: flavor-id-response - - id: loadbalancer-id - - listeners: listeners - - name: name - - operating_status: operating_status - - project_id: project_id - - provider: loadbalancer-provider - - provisioning_status: provisioning_status - - tenant_id: project_id - - vip_address: vip_address - - vip_network_id: vip_network_id - - vip_subnet_id: vip_subnet_id - - pools: pools-obj - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/loadbalancer-create-response.json - :language: javascript - -Show load balancer details -========================== - -.. rest_method:: GET /v2.0/lbaas/loadbalancers/{loadbalancer_id} - -Shows details for a load balancer. - -This operation returns a load balancer object, by ID. If you are -not an administrative user and the load balancer object does not -belong to your project, the service returns the HTTP -``Forbidden (403)`` response code. - -Normal response codes: 200 - -Error response codes: 401, 403 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - loadbalancer_id: loadbalancer-id-path - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - loadbalancer: loadbalancer - - admin_state_up: admin_state_up - - description: description - - id: loadbalancer-id - - listeners: listeners - - name: name - - operating_status: operating_status - - project_id: project_id - - provisioning_status: provisioning_status - - tenant_id: project_id - - vip_address: vip_address - - vip_subnet_id: vip_subnet_id - - pools: pools-obj - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/loadbalancer-show-response.json - :language: javascript - -Update load balancer -==================== - -.. rest_method:: PUT /v2.0/lbaas/loadbalancers/{loadbalancer_id} - -Updates a load balancer. - -If the request is valid, the service returns the ``Accepted (202)`` -response code. To confirm the update, check that the load balancer -provisioning status is ``ACTIVE``. If the status is -``PENDING_UPDATE``, use a GET operation to poll the load balancer -object for changes. - -This operation returns the updated load balancer object with the -``ACTIVE``, ``PENDING_UPDATE``, or ``ERROR`` provisioning status. - -Normal response codes: 202 - -Error response codes: 400, 401, 404 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - loadbalancer_id: loadbalancer-id-path - - loadbalancer: loadbalancer - - admin_state_up: admin_state_up-request - - name: name-request - - description: description-request - -Request Example ---------------- - -.. literalinclude:: samples/lbaas/loadbalancer-update-request.json - :language: javascript - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - loadbalancer: loadbalancer - - admin_state_up: admin_state_up - - description: description - - flavor: flavor-id-response - - id: loadbalancer-id - - listeners: listeners - - name: name - - operating_status: operating_status - - project_id: project_id - - provider: loadbalancer-provider - - provisioning_status: provisioning_status - - tenant_id: project_id - - vip_address: vip_address - - vip_subnet_id: vip_subnet_id - - pools: pools-obj - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/loadbalancer-update-response.json - :language: javascript - -Remove load balancer -==================== - -.. rest_method:: DELETE /v2.0/lbaas/loadbalancers/{loadbalancer_id} - -Removes a load balancer and its associated configuration from the project. - -The API immediately purges any and all configuration data. You -cannot recover it. - -Example: Delete a load balancer - -Normal response codes: 204 - -Error response codes: 401, 404 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - loadbalancer_id: loadbalancer-id-path - -Response --------- - -There is no body content for the response of a successful DELETE request. - -====================== -Load balancer statuses -====================== - -Show load balancer status tree -============================== - -.. rest_method:: GET /v2.0/lbaas/loadbalancers/{loadbalancer_id}/statuses - -Shows the status tree for a load balancer. - -This operation returns a status tree for a load balancer object, by -load balancer ID. If you are not an administrative user and the -load balancer object does not belong to the project, the API -returns the ``Forbidden (403)`` response code. - -If the operation succeeds, the returned element is a status tree -that contains the load balancer and all provisioning and operating -statuses for its children. - -Normal response codes: 200 - -Error response codes: 401, 403 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - loadbalancer_id: loadbalancer-id-path - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - statuses: loadbalancer-statuses - - loadbalancer: loadbalancer - - listeners: listeners - - pools: pools - - healthmonitor: healthmonitor - - id: loadbalancer-id - - members: members - - operating_status: operating_status - - provisioning_status: provisioning_status - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/loadbalancer-status-tree.json - :language: javascript - -.. ============================================================ - -========= -Listeners -========= - -List listeners -============== - -.. rest_method:: GET /v2.0/lbaas/listeners - -Lists all listeners. - -Use the ``fields`` query parameter to control which fields are -returned in the response body. Additionally, you can filter results -by using query string parameters. For information, see `Filtering -and Column Selection `__. - -This operation lists all listeners that are associated with your -project. - -The list might be empty. - -Example: List listeners - -Normal response codes: 200 - -Error response codes: 401 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - fields: fields - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - listeners: listeners-response - - admin_state_up: admin_state_up - - connection_limit: connection_limit-response - - default_pool_id: default_pool_id-response - - default_tls_container_ref: default_tls_container_ref-response - - description: description - - id: listener-id-response - - loadbalancers: loadbalancers - - name: name - - project_id: project_id - - protocol: protocol-response - - protocol_port: protocol_port - - sni_container_refs: sni_container_refs-response - - tenant_id: project_id - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/listeners-list-response.json - :language: javascript - -Create listener -=============== - -.. rest_method:: POST /v2.0/lbaas/listeners - -Creates a listener. - -This operation provisions a new listener by using the configuration -that you define in the request object. After the request is -validated and the provisioning process begins, a response object is -returned. The object contains a unique identifier. - -At a minimum, you must specify these listener attributes: - -- ``project_id``. Admin only. Required to create a listener for - another project. - -- ``loadbalancer_id``. The load balancer on which to provision this - listener. A project can only create listeners on load balancers - that the policy authorizes. For example, her own load balancers. - -- ``description``. The load balancer description. - -- ``protocol``. The protocol for which the front end listens. Must - be ``HTTP``, ``HTTPS``, ``TCP``, or ``TERMINATED_HTTPS``. - -- ``protocol_port``. The port on which the front end listens. Must - be an integer from 1 to 65535. - -Some attributes receive default values if you omit them from the -request: - -- ``default_tls_container_ref``. The reference to a container that - holds TLS secrets. If you also specify ``sni_container_refs``, - this container is the default. This parameter is required for the - ``TERMINATED_HTTPS`` protocol. - -- ``sni_container_refs``. A list of references to containers that - hold TLS secrets for server name indication (SNI). This parameter - is required for the ``TERMINATED_HTTPS`` protocol. - -- ``admin_state_up``. Default is ``true``. - -- ``name``. Default is an empty string. - -- ``description``. Default is an empty string. - -- ``connection_limit``. Default is ``-1``, which indicates an - infinite limit. - -If the API cannot fulfill the request due to insufficient data or -data that is not valid, the service returns the HTTP ``Bad Request -(400)`` response code with information about the failure in the -response body. Validation errors require that you correct the error -and submit the request again. - -You can configure all documented features of the listener at -creation time by specifying the additional elements or attributes -in the request. - -Administrative users can specify a project ID that is different than -their own to create listeners for other projects. - -To update a listener, the load balancer to which to attach must -have an ``ACTIVE`` provisioning status. - -Normal response codes: 201 - -Error response codes: 400, 401, 404 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - listener: listener - - admin_state_up: admin_state_up-request - - connection_limit: connection_limit - - default_pool_id: default_pool_id - - default_tls_container_ref: default_tls_container_ref - - description: description - - loadbalancer_id: loadbalancer-id - - name: name - - project_id: project_id-request - - protocol: protocol-response - - protocol_port: protocol_port-request - - sni_container_refs: sni_container_refs - - tenant_id: project_id-request - -Request Example ---------------- - -.. literalinclude:: samples/lbaas/listener-create-request.json - :language: javascript - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - listener: listener - - admin_state_up: admin_state_up - - connection_limit: connection_limit-response - - default_pool_id: default_pool_id-response - - default_tls_container_ref: default_tls_container_ref-response - - description: description - - id: listener-id-response - - loadbalancers: loadbalancers - - name: name - - project_id: project_id - - protocol: protocol-response - - protocol_port: protocol_port - - sni_container_refs: sni_container_refs-response - - tenant_id: project_id - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/listener-create-response.json - :language: javascript - -Show listener details -===================== - -.. rest_method:: GET /v2.0/lbaas/listeners/{listener_id} - -Shows details for a listener. - -This operation returns a listener object, by ID. If you are not an -administrative user and the listener object does not belong to your -account, the API returns the HTTP ``Forbidden (403)`` response -code. - -Example: Show listener details - -Normal response codes: 200 - -Error response codes: 401, 403 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - listener_id: listener-id-path - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - listener: listener - - admin_state_up: admin_state_up - - connection_limit: connection_limit-response - - id: listener-id-response - - default_pool_id: default_pool_id-response - - default_tls_container_ref: default_tls_container_ref-response - - description: description - - loadbalancers: loadbalancers - - name: name - - project_id: project_id - - protocol: protocol-response - - protocol_port: protocol_port - - sni_container_refs: sni_container_refs-response - - tenant_id: project_id - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/listener-show-response.json - :language: javascript - -Update listener -=============== - -.. rest_method:: PUT /v2.0/lbaas/listeners/{listener_id} - -Updates a listener. - -This operation updates the attributes of a listener. Upon -successful validation of the request, the service returns the HTTP -``Accepted (202)`` response code. - -Note: You cannot update the ``listener_id``, ``project_id``, -``loadbalancer_id``, ``loadbalancers``, ``default_pool_id``, -``protocol``, and ``protocol_port`` attributes. Attempting to -update an immutable attribute results in the HTTP ``Immutable -(422)`` response code. - -Note: You cannot update a listener if the load balancer to which -the listener is attached does not have an ``ACTIVE`` provisioning -status. - -Normal response codes: 202 - -Error response codes: 401, 404, 422 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - listener_id: listener-id-path - - listener: listener - - admin_state_up: admin_state_up-request - - connection_limit: connection_limit - - default_tls_container_ref: default_tls_container_ref - - description: description - - name: name - - sni_container_refs: sni_container_refs - -Request Example ---------------- - -.. literalinclude:: samples/lbaas/listener-update-request.json - :language: javascript - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - listener: listener - - admin_state_up: admin_state_up - - connection_limit: connection_limit-response - - default_pool_id: default_pool_id-response - - default_tls_container_ref: default_tls_container_ref-response - - description: description - - id: listener-id-response - - loadbalancers: loadbalancers - - name: name - - project_id: project_id - - protocol: protocol-response - - protocol_port: protocol_port - - sni_container_refs: sni_container_refs-response - - tenant_id: project_id - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/listener-update-response.json - :language: javascript - -Remove listener -=============== - -.. rest_method:: DELETE /v2.0/lbaas/listeners/{listener_id} - -Removes a listener. - -This operation removes a listener and its associated configuration -from the project. The API immediately purges any and all -configuration data. You cannot recover it. - -You cannot delete a listener if the load balancer to which it is -attached does not have an ``ACTIVE`` provisioning status. - -Example: Delete a listener - -Normal response codes: 204 - -Error response codes: 401, 404, 409 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - listener_id: listener-id-path - -Response --------- - -There is no body content for the response of a successful DELETE request. - -.. ============================================================ - -===== -Pools -===== - -List pools -========== - -.. rest_method:: GET /v2.0/lbaas/pools - -Lists all pools that are associated with your project. - -Use the ``fields`` query parameter to control which fields are -returned in the response body. Additionally, you can filter results -by using query string parameters. For information, see `Filtering -and Column Selection `__. - -The list might be empty. - -Example: List pools - -Normal response codes: 200 - -Error response codes: 401 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - fields: fields - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - pools: pools-obj - - admin_state_up: admin_state_up - - description: description - - listeners: listeners - - session_persistence: pool-session_persistence - - healthmonitor_id: healthmonitor-id - - id: pool-id-response - - lb_algorithm: lb_algorithm - - members: members - - name: name - - project_id: project_id - - protocol: protocol-response - - tenant_id: project_id - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/pools-list-response.json - :language: javascript - -Create pool -=========== - -.. rest_method:: POST /v2.0/lbaas/pools - -Creates a pool. - -This operation provisions a pool by using the configuration that -you define in the request object. After the API validates the -request and starts the provisioning process, the API returns a -response object, which contains a unique ID. - -At a minimum, you must specify these pool attributes: - -- ``project_id``. Admin only. Required to create a pool for another - project. - -- ``protocol``. The protocol for which this pool and its members - listen. A valid value is ``TCP``, ``HTTP``, or ``HTTPS``. - -- ``lb_algorithm``. The load-balancer algorithm, such as - ``ROUND_ROBIN``, ``LEAST_CONNECTIONS``, and ``SOURCE_IP``, that - distributes traffic to the pool members. The load-balancer - provider must support this algorithm. - -- ``listener_id``. The ID of the listener in which this pool - becomes the default pool. Each listener has only one default - pool. - -Some attributes receive default values if you omit them from the -request: - -- ``admin_state_up``. Default is ``true``. - -- ``name``. Default is an empty string. - -- ``description``. Default is an empty string. - -- ``session_persistence``. Default is an empty dictionary. - -If the API cannot fulfill the request due to insufficient data or -data that is not valid, the service returns the HTTP ``Bad Request -(400)`` response code with information about the failure in the -response body. Validation errors require that you correct the error -and submit the request again. - -Users can configure all documented features at creation time by -providing the additional elements or attributes in the request. - -Administrative users can specify a project ID that is different than -their own to create pools for other projects. - -To update a pool, the load balancer to which to attach must have an -``ACTIVE`` provisioning status. - -Normal response codes: 201 - -Error response codes: 400, 401 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - pool: pool - - admin_state_up: admin_state_up-request - - description: description-request - - lb_algorithm: lb_algorithm - - listener_id: listener-id-response - - session_persistence: pool-session_persistence-request - - name: name - - project_id: project_id-request - - protocol: protocol - - tenant_id: project_id-request - -Request Example ---------------- - -.. literalinclude:: samples/lbaas/pool-create-request.json - :language: javascript - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - pool: pool - - admin_state_up: admin_state_up - - description: description - - healthmonitor_id: healthmonitor-id - - id: pool-id-response - - lb_algorithm: lb_algorithm - - listeners: listeners - - session_persistence: pool-session_persistence - - members: members - - name: name - - project_id: project_id - - protocol: protocol-response - - tenant_id: project_id - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/pool-create-response.json - :language: javascript - -Show pool details -================= - -.. rest_method:: GET /v2.0/lbaas/pools/{pool_id} - -Shows details for a pool. - -This operation shows details for a pool, by ID. If you are not an -administrative user and the pool object does not belong to your -project, the call returns the HTTP ``Forbidden (403)`` -response code. - -If this operation succeeds, it returns a ``pool`` element. - -Example: Show pool details - -Normal response codes: 200 - -Error response codes: 403 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - pool_id: pool_id-path - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - pool: pool - - admin_state_up: admin_state_up - - description: description - - healthmonitor_id: healthmonitor-id - - lb_algorithm: lb_algorithm - - listeners: listeners - - session_persistence: pool-session_persistence - - members: members - - id: pool-id-response - - name: name - - project_id: project_id - - protocol: protocol-response - - tenant_id: project_id - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/pool-show-response.json - :language: javascript - -Update pool -=========== - -.. rest_method:: PUT /v2.0/lbaas/pools/{pool_id} - -Updates a pool. - -This operation updates the attributes of a pool. Upon successful -validation of the request, the service returns the HTTP ``Accepted -(202)`` response code. - -Note: You cannot update the pool ID, ``project_id``, -``listener_id``, ``listeners``, ``healthmonitor_id``, -``protocol``, and ``members`` immutable attributes. If you try to -update any of these attributes, the service returns the HTTP -``Immutable (422)`` response code . - -Note: You cannot update a pool if the load balancer to which it is -attached does not have an ``ACTIVE`` provisioning status. - -Normal response codes: 202 - -Error response codes: 401, 404, 422 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - pool_id: pool_id-path - - pool: pool - - admin_state_up: admin_state_up-request - - description: description-request - - lb_algorithm: lb_algorithm - - name: name - - session_persistence: pool-session_persistence-request - -Request Example ---------------- - -.. literalinclude:: samples/lbaas/pool-update-request.json - :language: javascript - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - pool: pool - - admin_state_up: admin_state_up - - description: description - - healthmonitor_id: healthmonitor-id - - id: pool-id-response - - lb_algorithm: lb_algorithm - - listeners: listeners - - session_persistence: pool-session_persistence - - members: members - - name: name - - project_id: project_id - - protocol: protocol-response - - tenant_id: project_id - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/pool-update-response.json - :language: javascript - -Remove pool -=========== - -.. rest_method:: DELETE /v2.0/lbaas/pools/{pool_id} - -Removes a pool. - -This operation removes a pool and its associated configuration from -the project. The API immediately purges any and all -configuration data. You cannot recover it. - -You cannot delete a pool if the load balancer to which it is -attached does not have an ``ACTIVE`` provisioning status. - -Normal response codes: 204 - -Error response codes: 401, 404 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - pool_id: pool_id-path - -Response --------- - -There is no body content for the response of a successful DELETE request. - -.. ============================================================ - -============ -Pool members -============ - -List pool members -================= - -.. rest_method:: GET /v2.0/lbaas/pools/{pool_id}/members - -Lists members of a pool. - -Lists all members that are associated with a pool that is -associated with your project. The list of members includes -only members that belong to the pool object identified by -``pool_id``. - -The list might be empty. - -Example: List pool members - -Normal response codes: 200 - -Error response codes: 401, 404 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - pool_id: pool_id-path - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - members: members - - address: address - - admin_state_up: admin_state_up - - id: member-id-response - - project_id: project_id - - protocol_port: protocol_port - - subnet_id: pool-subnet_id - - tenant_id: project_id - - weight: member-weight - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/pool-members-list-response.json - :language: javascript - -Add member to pool -================== - -.. rest_method:: POST /v2.0/lbaas/pools/{pool_id}/members - -Adds a member to a pool. - -This operation provisions a member and adds it to a pool by using -the configuration that you define in the request object. After the -API validates the request and starts the provisioning process, it -returns a response object, which contains a unique ID. - -At a minimum, you must specify these pool attributes: - -- ``project_id``. Admin only. Required to create a pool for another - project. - -- ``address``. The IP address of the member to receive traffic from - the load balancer. - -- ``protocol_port`` The port on which the member listens for - traffic. - -Some attributes receive default values if you omit them from the -request: - -- ``admin_state_up``. Default is ``true``. - -- ``weight``. Default is ``1``. - -If you omit the ``subnet_id`` parameter, LBaaS uses the -``vip_subnet_id`` parameter value for the subnet UUID. - -If the request fails due to incorrect data, the service returns the -HTTP ``Bad Request (400)`` response code with information about the -failure in the response body. Validation errors require that you -correct the error and submit the request again. - -To configure all documented member features at creation time, -specify additional elements or attributes in the request. - -Administrative users can specify a project ID that is different than -their own to create members for other projects. - -To update a member, the load balancer must have an ``ACTIVE`` -provisioning status. - -Normal response codes: 201 - -Error response codes: 400, 401 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - pool_id: pool_id-path - - address: address - - member: member - - project_id: project_id-request - - protocol_port: protocol_port - - subnet_id: pool-subnet_id-request - - tenant_id: project_id-request - -Request Example ---------------- - -.. literalinclude:: samples/lbaas/member-create-request.json - :language: javascript - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - member: member - - address: address - - admin_state_up: admin_state_up - - id: member-id-response - - project_id: project_id - - protocol_port: protocol_port - - subnet_id: pool-subnet_id - - tenant_id: project_id - - weight: member-weight - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/member-create-response.json - :language: javascript - -Show pool member details -======================== - -.. rest_method:: GET /v2.0/lbaas/pools/{pool_id}/members/{member_id} - -Shows details for a pool member. - -This operation returns a member object identified by ``member_id`` -that belongs to a pool object identified by ``pool_id``. If you are -not an administrative user and the pool or member object does not -belong to your project, the service returns the HTTP -``Forbidden (403)`` response code. - -If this operation succeeds, it returns a pool element. - -Example: Show pool member details - -Normal response codes: 200 - -Error response codes: 401, 403 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - pool_id: pool_id-path - - member_id: member_id-path - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - member: member - - address: address - - admin_state_up: admin_state_up - - id: member-id-response - - project_id: project_id - - protocol_port: protocol_port - - subnet_id: pool-subnet_id - - tenant_id: project_id - - weight: member-weight - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/member-show-response.json - :language: javascript - -Update pool member -================== - -.. rest_method:: PUT /v2.0/lbaas/pools/{pool_id}/members/{member_id} - -Updates attributes for a pool member. - -Upon successful validation of the request, the service returns the -HTTP ``OK (200)`` response code. - -Note: You cannot update the member ID, ``project_id``, -``address``, ``protocol_port``, and ``subnet_id`` attributes. If -you attempt to update any of these attributes, the service returns -the HTTP ``Immutable (422)`` response code. - -Note: You cannot update a member if the attached load balancer does -not have an ``ACTIVE`` provisioning status. - -Normal response codes: 200 - -Error response codes: 401, 404, 422 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - pool_id: pool_id-path - - member_id: member_id-path - - member: member - - admin_state_up: admin_state_up - - weight: member-weight-request - -Request Example ---------------- - -.. literalinclude:: samples/lbaas/member-update-request.json - :language: javascript - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - member: member - - address: address - - admin_state_up: admin_state_up - - id: member-id-response - - project_id: project_id - - protocol_port: protocol_port - - subnet_id: pool-subnet_id - - tenant_id: project_id - - weight: member-weight - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/member-update-response.json - :language: javascript - -Remove member from pool -======================= - -.. rest_method:: DELETE /v2.0/lbaas/pools/{pool_id}/members/{member_id} - -Removes a member from a pool and its associated configuration from the project. - -The API immediately purges any and all configuration data. You -cannot recover it. - -You cannot delete a member if the attached load balancer does not -have an ``ACTIVE`` provisioning status. - -Example: Remove a member from a pool - -Normal response codes: 204 - -Error response codes: 401, 404 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - pool_id: pool_id-path - - member_id: member_id-path - -Response --------- - -There is no body content for the response of a successful DELETE request. - -.. ============================================================ - -=============== -Health monitors -=============== - -List health monitors -==================== - -.. rest_method:: GET /v2.0/lbaas/healthmonitors - -Lists health monitors. - -This operation lists all health monitors that are associated with -your project. - -Use the ``fields`` query parameter to control which fields are -returned in the response body. Additionally, you can filter results -by using query string parameters. For information, see `Filtering -and Column Selection `__. - -This operation returns a list, which might be empty. - -Normal response codes: 200 - -Error response codes: 401 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - fields: fields - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - healthmonitors: healthmonitors-obj - - admin_state_up: admin_state_up - - delay: delay - - expected_codes: expected_codes-response - - http_method: http_method - - id: healthmonitor-id - - max_retries: max_retries - - name: name - - pools: pools - - project_id: project_id - - tenant_id: project_id - - timeout: timeout - - type: type - - url_path: url_path-response - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/healthmonitors-list-response.json - :language: javascript - -Create health monitor -===================== - -.. rest_method:: POST /v2.0/lbaas/healthmonitors - -Creates a health monitor. - -This operation provisions a health monitor by using the -configuration that you define in the request object. After the API -validates the request and start the provisioning process, it -returns a response object. The object contains a unique identifier. - -At a minimum, you must specify these health monitor attributes: - -- ``project_id``. Admin only. Required to create a health monitor for - another project. - -- ``type``. The type of health monitor. A valid value is ``TCP``, - ``HTTP``, or ``HTTPS``. - -- ``delay``. The interval, in seconds, between health checks. - -- ``timeout``. The time, in seconds, after which a health check - times out. - -- ``max_retries``. Number of failed health checks before marked as - OFFLINE. - -- ``pool_id``. The pool to monitor. - -Some attributes receive default values if you omit them from the -request, and are only useful when you specify a health monitor type -of HTTP(S): - -- ``http_method``. Default is ``GET``. - -- ``url_path``. Default is ``/``. - -- ``expected_codes``. The expected HTTP status codes to get from a - successful health check. Default is ``200``. - -- ``admin_state_up``. Default is ``true``. - -If the API cannot fulfill the request due to insufficient data or -data that is not valid, it returns the ``Bad Request (400)`` -response code with information about the nature of the failure in -the response body. Failures in the validation process are non- -recoverable and require that you correct the cause of the failure -and submit the request again. - -You can configure all documented features of the health monitor at -creation time by specifying the additional elements or attributes -in the request. - -Administrative users can specify a project ID that is different than -their own to create health monitors for other projects. - -To update a health monitor, the load balancer to which to attach -must have an ``ACTIVE`` provisioning status. - -Normal response codes: 201 - -Error response codes: 401, 404 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - healthmonitor: healthmonitor - - admin_state_up: admin_state_up - - delay: delay - - expected_codes: expected_codes - - http_method: http_method - - max_retries: max_retries - - name: name - - pool_id: pool_id-request - - project_id: project_id - - tenant_id: project_id - - timeout: timeout - - type: type - - url_path: url_path - -Request Example ---------------- - -.. literalinclude:: samples/lbaas/healthmonitor-create-request.json - :language: javascript - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - healthmonitor: healthmonitor - - admin_state_up: admin_state_up - - delay: delay - - expected_codes: expected_codes-response - - http_method: http_method - - id: healthmonitor-id - - max_retries: max_retries - - name: name - - pools: pools - - project_id: project_id - - tenant_id: project_id - - timeout: timeout - - type: type - - url_path: url_path-response - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/healthmonitor-show-response.json - :language: javascript - -Show health monitor details -=========================== - -.. rest_method:: GET /v2.0/lbaas/healthmonitors/{healthmonitor_id} - -Shows details for a health monitor. - -This operation returns a health monitor object, by health monitor -ID. If you are not an administrative user and the health monitor -object does not belong to your project, the service returns -the HTTP ``Forbidden (403)`` response code. - -Example: Show health monitor details - -Normal response codes: 200 - -Error response codes: 401, 403 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - healthmonitor_id: healthmonitor_id-path - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - healthmonitor: healthmonitor - - admin_state_up: admin_state_up - - delay: delay - - expected_codes: expected_codes-response - - http_method: http_method - - max_retries: max_retries - - name: name - - id: healthmonitor-id - - pools: pools - - project_id: project_id - - tenant_id: project_id - - timeout: timeout - - type: type - - url_path: url_path-response - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/healthmonitor-show-response.json - :language: javascript - -Update health monitor -===================== - -.. rest_method:: PUT /v2.0/lbaas/healthmonitors/{healthmonitor_id} - -Updates a health monitor. - -Upon successful validation of the request, the service returns the -HTTP ``Accepted (202)`` response code. - -Note: The health monitor ID, ``project_id``, ``pool_id``, and type -are immutable attributes and cannot be updated. If you specify an -unsupported attribute, the service returns the HTTP ``Immutable -(422)`` response code. - -Normal response codes: 202 - -Error response codes: 401, 404, 422 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - healthmonitor_id: healthmonitor_id-path - - healthmonitor: healthmonitor - - admin_state_up: admin_state_up - - delay: delay - - expected_codes: expected_codes - - http_method: http_method - - max_retries: max_retries - - name: name - - timeout: timeout - - url_path: url_path - -Request Example ---------------- - -.. literalinclude:: samples/lbaas/healthmonitor-update-request.json - :language: javascript - -Response Parameters -------------------- - -.. rest_parameters:: parameters.yaml - - - healthmonitor: healthmonitor - - admin_state_up: admin_state_up - - delay: delay - - expected_codes: expected_codes-response - - http_method: http_method - - max_retries: max_retries - - name: name - - id: healthmonitor-id - - pools: pools - - project_id: project_id - - tenant_id: project_id - - timeout: timeout - - type: type - - url_path: url_path-response - -Response Example ----------------- - -.. literalinclude:: samples/lbaas/healthmonitor-update-response.json - :language: javascript - -Remove health monitor -===================== - -.. rest_method:: DELETE /v2.0/lbaas/healthmonitors/{healthmonitor_id} - -Removes a health monitor and its associated configuration from the project. - -The API immediately purges any and all configuration data. You -cannot recover it. - -You cannot delete a health monitor if the attached load balancer -does not have an ``ACTIVE`` provisioning status. - -Example: Delete a health monitor - -Normal response codes: 204 - -Error response codes: 401, 404 - -Request -------- - -.. rest_parameters:: parameters.yaml - - - healthmonitor_id: healthmonitor_id-path - -Response --------- - -There is no body content for the response of a successful DELETE request. diff --git a/api-ref/source/v2/parameters.yaml b/api-ref/source/v2/parameters.yaml index 52f484d4d..82f4effff 100644 --- a/api-ref/source/v2/parameters.yaml +++ b/api-ref/source/v2/parameters.yaml @@ -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 diff --git a/api-ref/source/v2/samples/extensions/extensions-list-response.json b/api-ref/source/v2/samples/extensions/extensions-list-response.json index b8c7400d5..0e0ab2ca3 100644 --- a/api-ref/source/v2/samples/extensions/extensions-list-response.json +++ b/api-ref/source/v2/samples/extensions/extensions-list-response.json @@ -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", diff --git a/api-ref/source/v2/samples/flavors/flavor-create-request.json b/api-ref/source/v2/samples/flavors/flavor-create-request.json index 859c94526..d8c68bdb4 100644 --- a/api-ref/source/v2/samples/flavors/flavor-create-request.json +++ b/api-ref/source/v2/samples/flavors/flavor-create-request.json @@ -1,6 +1,6 @@ { "flavor": { - "service_type": "LOADBALANCERV2", + "service_type": "FIREWALL", "enabled": true, "name": "dummy", "description": "Dummy flavor" diff --git a/api-ref/source/v2/samples/flavors/flavor-create-response.json b/api-ref/source/v2/samples/flavors/flavor-create-response.json index dac6fcc0b..f420c4d7b 100644 --- a/api-ref/source/v2/samples/flavors/flavor-create-response.json +++ b/api-ref/source/v2/samples/flavors/flavor-create-response.json @@ -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": [] diff --git a/api-ref/source/v2/samples/flavors/flavor-show-response.json b/api-ref/source/v2/samples/flavors/flavor-show-response.json index 176bc7824..a5411a070 100644 --- a/api-ref/source/v2/samples/flavors/flavor-show-response.json +++ b/api-ref/source/v2/samples/flavors/flavor-show-response.json @@ -3,7 +3,7 @@ "description": "", "enabled": true, "service_profiles": [], - "service_type": "LOADBALANCERV2", + "service_type": "FIREWALL", "id": "f7b14d9a-b0dc-4fbe-bb14-a0f4970a69e0", "name": "dummy" } diff --git a/api-ref/source/v2/samples/flavors/flavor-update-response.json b/api-ref/source/v2/samples/flavors/flavor-update-response.json index 52f7814aa..3d7b62088 100644 --- a/api-ref/source/v2/samples/flavors/flavor-update-response.json +++ b/api-ref/source/v2/samples/flavors/flavor-update-response.json @@ -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" } diff --git a/api-ref/source/v2/samples/flavors/flavors-list-response.json b/api-ref/source/v2/samples/flavors/flavors-list-response.json index 3b2474d2f..68ef44321 100644 --- a/api-ref/source/v2/samples/flavors/flavors-list-response.json +++ b/api-ref/source/v2/samples/flavors/flavors-list-response.json @@ -4,7 +4,7 @@ "description": "", "enabled": true, "service_profiles": [], - "service_type": "LOADBALANCERV2", + "service_type": "FIREWALL", "id": "f7b14d9a-b0dc-4fbe-bb14-a0f4970a69e0", "name": "dummy" } diff --git a/api-ref/source/v2/samples/flavors/service-profile-create-request.json b/api-ref/source/v2/samples/flavors/service-profile-create-request.json index aba70f34a..0a6729844 100644 --- a/api-ref/source/v2/samples/flavors/service-profile-create-request.json +++ b/api-ref/source/v2/samples/flavors/service-profile-create-request.json @@ -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'}" } diff --git a/api-ref/source/v2/samples/flavors/service-profile-create-response.json b/api-ref/source/v2/samples/flavors/service-profile-create-response.json index 1556d72fa..2702e03af 100644 --- a/api-ref/source/v2/samples/flavors/service-profile-create-response.json +++ b/api-ref/source/v2/samples/flavors/service-profile-create-response.json @@ -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" } diff --git a/api-ref/source/v2/samples/flavors/service-profile-show-response.json b/api-ref/source/v2/samples/flavors/service-profile-show-response.json index 1556d72fa..2702e03af 100644 --- a/api-ref/source/v2/samples/flavors/service-profile-show-response.json +++ b/api-ref/source/v2/samples/flavors/service-profile-show-response.json @@ -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" } diff --git a/api-ref/source/v2/samples/flavors/service-profile-update-request.json b/api-ref/source/v2/samples/flavors/service-profile-update-request.json index f41101f43..76640c03b 100644 --- a/api-ref/source/v2/samples/flavors/service-profile-update-request.json +++ b/api-ref/source/v2/samples/flavors/service-profile-update-request.json @@ -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'}" } diff --git a/api-ref/source/v2/samples/flavors/service-profile-update-response.json b/api-ref/source/v2/samples/flavors/service-profile-update-response.json index 3090089c9..8319b011f 100644 --- a/api-ref/source/v2/samples/flavors/service-profile-update-response.json +++ b/api-ref/source/v2/samples/flavors/service-profile-update-response.json @@ -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" } diff --git a/api-ref/source/v2/samples/flavors/service-profiles-list-response.json b/api-ref/source/v2/samples/flavors/service-profiles-list-response.json index 0bb691511..ef2732b93 100644 --- a/api-ref/source/v2/samples/flavors/service-profiles-list-response.json +++ b/api-ref/source/v2/samples/flavors/service-profiles-list-response.json @@ -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": "{}" } diff --git a/api-ref/source/v2/samples/lbaas/healthmonitor-associate-request.json b/api-ref/source/v2/samples/lbaas/healthmonitor-associate-request.json deleted file mode 100644 index b9c58b6fe..000000000 --- a/api-ref/source/v2/samples/lbaas/healthmonitor-associate-request.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "healthmonitor": { - "id": "b624decf-d5d3-4c66-9a3d-f047e7786181" - } -} diff --git a/api-ref/source/v2/samples/lbaas/healthmonitor-associate-response.json b/api-ref/source/v2/samples/lbaas/healthmonitor-associate-response.json deleted file mode 100644 index b8b76b138..000000000 --- a/api-ref/source/v2/samples/lbaas/healthmonitor-associate-response.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "healthmonitor": {} -} diff --git a/api-ref/source/v2/samples/lbaas/healthmonitor-create-request.json b/api-ref/source/v2/samples/lbaas/healthmonitor-create-request.json deleted file mode 100644 index c5c19d6a5..000000000 --- a/api-ref/source/v2/samples/lbaas/healthmonitor-create-request.json +++ /dev/null @@ -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" - } -} diff --git a/api-ref/source/v2/samples/lbaas/healthmonitor-create-response.json b/api-ref/source/v2/samples/lbaas/healthmonitor-create-response.json deleted file mode 100644 index 1e7ffda46..000000000 --- a/api-ref/source/v2/samples/lbaas/healthmonitor-create-response.json +++ /dev/null @@ -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" - } -} diff --git a/api-ref/source/v2/samples/lbaas/healthmonitor-show-response.json b/api-ref/source/v2/samples/lbaas/healthmonitor-show-response.json deleted file mode 100644 index 52a2e080a..000000000 --- a/api-ref/source/v2/samples/lbaas/healthmonitor-show-response.json +++ /dev/null @@ -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" - } -} diff --git a/api-ref/source/v2/samples/lbaas/healthmonitor-update-request.json b/api-ref/source/v2/samples/lbaas/healthmonitor-update-request.json deleted file mode 100644 index 39d44e100..000000000 --- a/api-ref/source/v2/samples/lbaas/healthmonitor-update-request.json +++ /dev/null @@ -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" - } -} diff --git a/api-ref/source/v2/samples/lbaas/healthmonitor-update-response.json b/api-ref/source/v2/samples/lbaas/healthmonitor-update-response.json deleted file mode 100644 index 060ae7edb..000000000 --- a/api-ref/source/v2/samples/lbaas/healthmonitor-update-response.json +++ /dev/null @@ -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" - } -} diff --git a/api-ref/source/v2/samples/lbaas/healthmonitors-list-response.json b/api-ref/source/v2/samples/lbaas/healthmonitors-list-response.json deleted file mode 100644 index a1d55c018..000000000 --- a/api-ref/source/v2/samples/lbaas/healthmonitors-list-response.json +++ /dev/null @@ -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" - } - ] -} diff --git a/api-ref/source/v2/samples/lbaas/listener-create-request.json b/api-ref/source/v2/samples/lbaas/listener-create-request.json deleted file mode 100644 index 79491dce2..000000000 --- a/api-ref/source/v2/samples/lbaas/listener-create-request.json +++ /dev/null @@ -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" - ] - } -} diff --git a/api-ref/source/v2/samples/lbaas/listener-create-response.json b/api-ref/source/v2/samples/lbaas/listener-create-response.json deleted file mode 100644 index ee19fa1aa..000000000 --- a/api-ref/source/v2/samples/lbaas/listener-create-response.json +++ /dev/null @@ -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" - ] - } -} diff --git a/api-ref/source/v2/samples/lbaas/listener-show-response.json b/api-ref/source/v2/samples/lbaas/listener-show-response.json deleted file mode 100644 index d65053d37..000000000 --- a/api-ref/source/v2/samples/lbaas/listener-show-response.json +++ /dev/null @@ -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" - ] - } -} diff --git a/api-ref/source/v2/samples/lbaas/listener-update-request.json b/api-ref/source/v2/samples/lbaas/listener-update-request.json deleted file mode 100644 index aeb8120ce..000000000 --- a/api-ref/source/v2/samples/lbaas/listener-update-request.json +++ /dev/null @@ -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" - ] - } -} diff --git a/api-ref/source/v2/samples/lbaas/listener-update-response.json b/api-ref/source/v2/samples/lbaas/listener-update-response.json deleted file mode 100644 index 5a4eb9412..000000000 --- a/api-ref/source/v2/samples/lbaas/listener-update-response.json +++ /dev/null @@ -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" - ] - } -} diff --git a/api-ref/source/v2/samples/lbaas/listeners-list-response.json b/api-ref/source/v2/samples/lbaas/listeners-list-response.json deleted file mode 100644 index 5e0f00089..000000000 --- a/api-ref/source/v2/samples/lbaas/listeners-list-response.json +++ /dev/null @@ -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" - ] - } - ] -} diff --git a/api-ref/source/v2/samples/lbaas/loadbalancer-create-request.json b/api-ref/source/v2/samples/lbaas/loadbalancer-create-request.json deleted file mode 100644 index 5aa588b00..000000000 --- a/api-ref/source/v2/samples/lbaas/loadbalancer-create-request.json +++ /dev/null @@ -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" - } -} diff --git a/api-ref/source/v2/samples/lbaas/loadbalancer-create-response.json b/api-ref/source/v2/samples/lbaas/loadbalancer-create-response.json deleted file mode 100644 index bed439f36..000000000 --- a/api-ref/source/v2/samples/lbaas/loadbalancer-create-response.json +++ /dev/null @@ -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": [] - } -} diff --git a/api-ref/source/v2/samples/lbaas/loadbalancer-show-response.json b/api-ref/source/v2/samples/lbaas/loadbalancer-show-response.json deleted file mode 100644 index ddaeeba4b..000000000 --- a/api-ref/source/v2/samples/lbaas/loadbalancer-show-response.json +++ /dev/null @@ -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": [] - } -} diff --git a/api-ref/source/v2/samples/lbaas/loadbalancer-status-tree.json b/api-ref/source/v2/samples/lbaas/loadbalancer-status-tree.json deleted file mode 100644 index 0b74ed034..000000000 --- a/api-ref/source/v2/samples/lbaas/loadbalancer-status-tree.json +++ /dev/null @@ -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" - } - } -} diff --git a/api-ref/source/v2/samples/lbaas/loadbalancer-update-request.json b/api-ref/source/v2/samples/lbaas/loadbalancer-update-request.json deleted file mode 100644 index a927251eb..000000000 --- a/api-ref/source/v2/samples/lbaas/loadbalancer-update-request.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "loadbalancer": { - "admin_state_up": false, - "description": "simple lb2", - "name": "loadbalancer2" - } -} diff --git a/api-ref/source/v2/samples/lbaas/loadbalancer-update-response.json b/api-ref/source/v2/samples/lbaas/loadbalancer-update-response.json deleted file mode 100644 index d9916d378..000000000 --- a/api-ref/source/v2/samples/lbaas/loadbalancer-update-response.json +++ /dev/null @@ -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": [] - } -} diff --git a/api-ref/source/v2/samples/lbaas/loadbalancer-update-response.txt b/api-ref/source/v2/samples/lbaas/loadbalancer-update-response.txt deleted file mode 100644 index 314e15b36..000000000 --- a/api-ref/source/v2/samples/lbaas/loadbalancer-update-response.txt +++ /dev/null @@ -1,4 +0,0 @@ -#!wiki caution -Note - -A Load Balancer that is does not have a provisioning_status of ACTIVE cannot be updated. diff --git a/api-ref/source/v2/samples/lbaas/loadbalancers-list-response.json b/api-ref/source/v2/samples/lbaas/loadbalancers-list-response.json deleted file mode 100644 index 0ebbcbd64..000000000 --- a/api-ref/source/v2/samples/lbaas/loadbalancers-list-response.json +++ /dev/null @@ -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": [] - } - ] -} diff --git a/api-ref/source/v2/samples/lbaas/member-create-request.json b/api-ref/source/v2/samples/lbaas/member-create-request.json deleted file mode 100644 index c04504910..000000000 --- a/api-ref/source/v2/samples/lbaas/member-create-request.json +++ /dev/null @@ -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" - } -} diff --git a/api-ref/source/v2/samples/lbaas/member-create-response.json b/api-ref/source/v2/samples/lbaas/member-create-response.json deleted file mode 100644 index 3866459bd..000000000 --- a/api-ref/source/v2/samples/lbaas/member-create-response.json +++ /dev/null @@ -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" - } -} diff --git a/api-ref/source/v2/samples/lbaas/member-show-response.json b/api-ref/source/v2/samples/lbaas/member-show-response.json deleted file mode 100644 index 3866459bd..000000000 --- a/api-ref/source/v2/samples/lbaas/member-show-response.json +++ /dev/null @@ -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" - } -} diff --git a/api-ref/source/v2/samples/lbaas/member-update-request.json b/api-ref/source/v2/samples/lbaas/member-update-request.json deleted file mode 100644 index b5bf2c877..000000000 --- a/api-ref/source/v2/samples/lbaas/member-update-request.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "member": { - "weight": 5 - } -} diff --git a/api-ref/source/v2/samples/lbaas/member-update-response.json b/api-ref/source/v2/samples/lbaas/member-update-response.json deleted file mode 100644 index fe681aca0..000000000 --- a/api-ref/source/v2/samples/lbaas/member-update-response.json +++ /dev/null @@ -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" - } -} diff --git a/api-ref/source/v2/samples/lbaas/members-list-response.json b/api-ref/source/v2/samples/lbaas/members-list-response.json deleted file mode 100644 index f9d99a535..000000000 --- a/api-ref/source/v2/samples/lbaas/members-list-response.json +++ /dev/null @@ -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" - } - ] -} diff --git a/api-ref/source/v2/samples/lbaas/pool-create-request.json b/api-ref/source/v2/samples/lbaas/pool-create-request.json deleted file mode 100644 index 989e1e709..000000000 --- a/api-ref/source/v2/samples/lbaas/pool-create-request.json +++ /dev/null @@ -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" - } -} diff --git a/api-ref/source/v2/samples/lbaas/pool-create-response.json b/api-ref/source/v2/samples/lbaas/pool-create-response.json deleted file mode 100644 index 3a5968458..000000000 --- a/api-ref/source/v2/samples/lbaas/pool-create-response.json +++ /dev/null @@ -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" - } -} diff --git a/api-ref/source/v2/samples/lbaas/pool-members-list-response.json b/api-ref/source/v2/samples/lbaas/pool-members-list-response.json deleted file mode 100644 index f0ad50ada..000000000 --- a/api-ref/source/v2/samples/lbaas/pool-members-list-response.json +++ /dev/null @@ -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 - } - ] -} diff --git a/api-ref/source/v2/samples/lbaas/pool-show-response.json b/api-ref/source/v2/samples/lbaas/pool-show-response.json deleted file mode 100644 index 2add36727..000000000 --- a/api-ref/source/v2/samples/lbaas/pool-show-response.json +++ /dev/null @@ -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" - } -} diff --git a/api-ref/source/v2/samples/lbaas/pool-update-request.json b/api-ref/source/v2/samples/lbaas/pool-update-request.json deleted file mode 100644 index d523eeabb..000000000 --- a/api-ref/source/v2/samples/lbaas/pool-update-request.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "pool": { - "name": "SuperPool" - } -} diff --git a/api-ref/source/v2/samples/lbaas/pool-update-response.json b/api-ref/source/v2/samples/lbaas/pool-update-response.json deleted file mode 100644 index 77202f94a..000000000 --- a/api-ref/source/v2/samples/lbaas/pool-update-response.json +++ /dev/null @@ -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" - } -} diff --git a/api-ref/source/v2/samples/lbaas/pools-list-response.json b/api-ref/source/v2/samples/lbaas/pools-list-response.json deleted file mode 100644 index 3281a430e..000000000 --- a/api-ref/source/v2/samples/lbaas/pools-list-response.json +++ /dev/null @@ -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" - } - ] -} diff --git a/api-ref/source/v2/samples/lbaas/pools-list-response2.json b/api-ref/source/v2/samples/lbaas/pools-list-response2.json deleted file mode 100644 index 2dcfa3949..000000000 --- a/api-ref/source/v2/samples/lbaas/pools-list-response2.json +++ /dev/null @@ -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" - } - ] -} diff --git a/api-ref/source/v2/samples/lbaas/vip-create-request.json b/api-ref/source/v2/samples/lbaas/vip-create-request.json deleted file mode 100644 index 2dc444c0f..000000000 --- a/api-ref/source/v2/samples/lbaas/vip-create-request.json +++ /dev/null @@ -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" - } -} diff --git a/api-ref/source/v2/samples/lbaas/vip-create-response.json b/api-ref/source/v2/samples/lbaas/vip-create-response.json deleted file mode 100644 index ecaea984a..000000000 --- a/api-ref/source/v2/samples/lbaas/vip-create-response.json +++ /dev/null @@ -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 - } -} diff --git a/api-ref/source/v2/samples/lbaas/vip-show-response.json b/api-ref/source/v2/samples/lbaas/vip-show-response.json deleted file mode 100644 index fe5d72485..000000000 --- a/api-ref/source/v2/samples/lbaas/vip-show-response.json +++ /dev/null @@ -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 - } -} diff --git a/api-ref/source/v2/samples/lbaas/vip-update-request.json b/api-ref/source/v2/samples/lbaas/vip-update-request.json deleted file mode 100644 index a29693659..000000000 --- a/api-ref/source/v2/samples/lbaas/vip-update-request.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "vip": { - "connection_limit": "1000" - } -} diff --git a/api-ref/source/v2/samples/lbaas/vip-update-response.json b/api-ref/source/v2/samples/lbaas/vip-update-response.json deleted file mode 100644 index 735a9b261..000000000 --- a/api-ref/source/v2/samples/lbaas/vip-update-response.json +++ /dev/null @@ -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 - } -} diff --git a/api-ref/source/v2/samples/lbaas/vips-list-response.json b/api-ref/source/v2/samples/lbaas/vips-list-response.json deleted file mode 100644 index 028046077..000000000 --- a/api-ref/source/v2/samples/lbaas/vips-list-response.json +++ /dev/null @@ -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 - } - ] -} diff --git a/api-ref/source/v2/samples/service-type-response.json b/api-ref/source/v2/samples/service-type-response.json index 276a82684..0ac749dfb 100644 --- a/api-ref/source/v2/samples/service-type-response.json +++ b/api-ref/source/v2/samples/service-type-response.json @@ -1,7 +1,7 @@ { "service_providers": [ { - "service_type": "LOADBALANCER", + "service_type": "FIREWALL", "default": true, "name": "haproxy" } diff --git a/doc/source/contributor/callbacks.rst b/doc/source/contributor/callbacks.rst index a69bac725..4af83c95f 100644 --- a/doc/source/contributor/callbacks.rst +++ b/doc/source/contributor/callbacks.rst @@ -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 diff --git a/neutron_lib/constants.py b/neutron_lib/constants.py index 45ee329df..a35718166 100644 --- a/neutron_lib/constants.py +++ b/neutron_lib/constants.py @@ -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" @@ -107,7 +109,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' @@ -124,7 +125,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' diff --git a/neutron_lib/plugins/constants.py b/neutron_lib/plugins/constants.py index 6b6ca7e9b..8d6c6de2d 100644 --- a/neutron_lib/plugins/constants.py +++ b/neutron_lib/plugins/constants.py @@ -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"