Contents
Get a VPCS instance
Name | Mandatory | Type | Description |
---|---|---|---|
console | ✔ | integer | console TCP port |
name | ✔ | string | VPCS device name |
project_id | ✔ | string | Project UUID |
script_file | ['string', 'null'] | VPCS startup script | |
startup_script | ['string', 'null'] | Content of the VPCS startup script | |
uuid | ✔ | string | VPCS device UUID |
curl -i -X GET 'http://localhost:8000/vpcs/{uuid}'
GET /vpcs/{uuid} HTTP/1.1
HTTP/1.1 200
CONNECTION: close
CONTENT-LENGTH: 211
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.4 aiohttp/0.13.1
X-ROUTE: /vpcs/{uuid}
{
"console": 2003,
"name": "PC TEST 1",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"script_file": null,
"startup_script": null,
"uuid": "0300d8a7-e971-4402-bd85-8c12384d308d"
}
Update a VPCS instance
Delete a VPCS instance