mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-25 07:21:07 +00:00
2.8 KiB
2.8 KiB
/v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
POST /v2/compute/projects/{project_id}/vpcs/nodes/{node_id}/start
Start a VPCS instance
Parameters
- node_id: UUID for the instance
- project_id: UUID for the project
Response status codes
- 400: Invalid request
- 404: Instance doesn't exist
- 204: Instance started
Output
Name | Mandatory | Type | Description |
---|---|---|---|
command_line | ✔ | string | Last command line used by GNS3 to start QEMU |
console | ✔ | integer | console TCP port |
console_type | ✔ | enum | Possible values: telnet |
name | ✔ | string | VPCS VM name |
node_id | ✔ | string | VPCS VM UUID |
project_id | ✔ | string | Project UUID |
startup_script | ['string', 'null'] | Content of the VPCS startup script | |
startup_script_path | ✔ | ['string', 'null'] | Path of the VPCS startup script relative to project directory |
status | ✔ | enum | Possible values: started, stopped |
vm_directory | string |
Sample session
../../../examples/compute_post_projectsprojectidvpcsnodesnodeidstart.txt