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: keep-alive
CONTENT-LENGTH: 211
CONTENT-TYPE: application/json
DATE: Thu, 08 Jan 2015 16:09:15 GMT
SERVER: Python/3.4 GNS3/1.3.dev1
X-ROUTE: /v1/vpcs/{uuid}
{
"console": 2003,
"name": "PC TEST 1",
"project_id": "a1e920ca-338a-4e9f-b363-aa607b09dd80",
"script_file": null,
"startup_script": null,
"uuid": "6d2d8dd3-4b2f-43cb-a95d-301f5c65606b"
}
Update a VPCS instance
Delete a VPCS instance