Add a Virtual IP (dlbv3)

Add a virtual server configuration to the load balancer.

POST /{device_id}/vips

Request

The account number, port_name, description, and comment parameters are optional.

You can find persistence in the algorithm section, and it is an enabled or disabled field.

port is an alias for port_number.

{
  "account_number": "<Account Number>",
  "label": req"<Label>",
  "description": "<description>",
  "ip": "<ip>",
  "protocol": req"<protocol>",
  "port": req"<port>",
  "algorithm": req{
                    "name": "<name>",
                    "persistence":req"<enabled|disabled>"
                   },
  "nodes": [],
  "admin_state": req"<enabled|disabled>",
  "comment": "comment"
}

Response

The request has been accepted for processing.

{
    "status": 202,
    "timestamp": "2020-10-30 10:23:37.091993",
    "@type": "Event",
    "message": "Processing",
    "@ref": "{tenant-id}/loadbalancers/{device-id}/events/{event-id(str)}",
    "id": "event-id(str)"
}