/v2/projects/{project_id}/nodes/{node_id}/dynamips/idlepc_proposals¶
Contents
GET /v2/projects/{project_id}/nodes/{node_id}/dynamips/idlepc_proposals¶
Compute a list of potential idle PC for a node
Parameters¶
- project_id: Project UUID
- node_id: Node UUID
Response status codes¶
- 204: Instance reloaded
- 400: Invalid request
- 404: Instance doesn’t exist
Sample session¶
curl -i -X GET 'http://localhost:3080/v2/projects/f6d48c79-bbf2-48e9-87dd-706fcf40eb7b/nodes/3a1aa9c0-8ea9-4372-874a-412edc9022d5/dynamips/idlepc_proposals'
GET /v2/projects/f6d48c79-bbf2-48e9-87dd-706fcf40eb7b/nodes/3a1aa9c0-8ea9-4372-874a-412edc9022d5/dynamips/idlepc_proposals HTTP/1.1
HTTP/1.1 200
Connection: close
Content-Length: 38
Content-Type: application/json
Date: Tue, 21 Mar 2017 09:32:01 GMT
Server: Python/3.6 GNS3/2.0.0dev11
X-Route: /v2/projects/{project_id}/nodes/{node_id}/dynamips/idlepc_proposals
[
"0x60606f54",
"0x33805a22"
]