Neutron/LBaaS/RESTAPI/proposal

= Provider API =

= Tenant API =

List VIPs
Normal Response Code: 200

Error Response Codes:Unauthorized (401)

This operation does not require a request body, unless the Quantum server is running without Keystone integration.

This operation returns a response body.

JSON Request:

GET /v2.0/services/lbaas/vips.json Accept: application/json

JSON Response:

{   "vips": [ {           "id": "4b15f63d17834203bec5558851c1c2fc", "name": "test", "network_id": "4a0dc4bb28f74d0aad9903f807c3073c", "address": "172.18.76.14", "pools": [ {                   "id": "7562ca4be14c42d388b4b9e7be865a87" }           ]        }    ] }

Show VIP
Normal Response Code: 200

Error Response Codes: Unauthorized (401), Not Found (404)

This operation does not require a request body, unless the Quantum server is running without Keystone integration.

This operation returns a response body.

JSON Request:

GET /v2.0/services/lbaas/vips/{afc75773-640e-403c-9fff-62ba98db1f19}.json Accept: application/json

JSON Response:

{   "vips": [ {           "id": "4b15f63d17834203bec5558851c1c2fc", "name": "test", "network_id": "4a0dc4bb28f74d0aad9903f807c3073c", "address": "172.18.76.14", "pools": [ {                   "id": "7562ca4be14c42d388b4b9e7be865a87" }           ]        }    ] }

Create VIP
Normal Response Code: 201

Error Response Codes: Bad Request (400) Unauthorized (401)

This operation requires a request body. The request body must contain a network object that specifies a symbolic name for the network.

This operation returns a response body.

JSON Request:

POST /v2.0/services/lbaas/vips.json Content-Type: application/json Accept: application/json

{   "vips": [ {           "name": "test", "network_id": "4a0dc4bb28f74d0aad9903f807c3073c", "address": "172.18.76.14", "pools": [ {                   "id": "7562ca4be14c42d388b4b9e7be865a87" }           ]        }    ] }

JSON Response:

{   "vips": [ {           "id": "4b15f63d17834203bec5558851c1c2fc", "name": "test", "network_id": "4a0dc4bb28f74d0aad9903f807c3073c", "address": "172.18.76.14" }   ] }

Update VIP
Normal Response Code: 200

Error Response Codes: Bad Request (400) Unauthorized (401), Forbidden (403)

This operation requires a request body. You can set the following attributes in the request body:

This operation returns a response body.

JSON Request:

POST /v2.0/services/lbaas/vips/fc68ea2c-b60b-4b4f-bd82-94ec81110766.json Content-Type: application/json Accept: application/json

{   "vips": [ {           "name": "test2", }   ] }

JSON Response:

{   "vips": [ {           "id": "4b15f63d17834203bec5558851c1c2fc", "name": "test2", "network_id": "4a0dc4bb28f74d0aad9903f807c3073c", "address": "172.18.76.14" }   ] }

Delete VIP
Normal Response Code: 204

Error Response Codes: Unauthorized (401), Not Found (404)

This operation does not require a request body.

This operation does not return a response body.

JSON Request:

DELETE /v2.0/services/lbaas/vips/{afc75773-640e-403c-9fff-62ba98db1f19}.json Accept: application/json

JSON Response:

status: 204