Update VIP

Verb URI Description
PUT /lb/vips/vip-id Updates a load balancer VIP.

Normal Response Code: 200

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

 

Example 4.78. Update VIP: HTTP and JSON request

PUT /v2.0/lb/vips/c987d2be-9a3c-4ac9-a046-e8716b1350e2.json
User-Agent: python-neutronclient
Accept: application/json

{
   "vip":{
      "connection_limit":"1000"
   }
}

 

Example 4.79. Update VIP: HTTP and JSON response

HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8

{
   "vip":{
      "status":"PENDING_UPDATE",
      "protocol":"HTTP",
      "description":"",
      "admin_state_up":true,
      "subnet_id":"8032909d-47a1-4715-90af-5153ffe39861",
      "tenant_id":"83657cfcdfe44cd5920adaf26c48ceea",
      "connection_limit":1000,
      "pool_id":"61b1f87a-7a21-4ad3-9dda-7f81d249944f",
      "address":"10.0.0.11",
      "protocol_port":80,
      "port_id":"f7e6fe6a-b8b5-43a8-8215-73456b32e0f5",
      "id":"c987d2be-9a3c-4ac9-a046-e8716b1350e2",
      "name":"NewVip"
   }
}

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...