mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-19 12:57:56 +00:00
2.7 KiB
2.7 KiB
/vpcs/{uuid}
GET /vpcs/{uuid}
Get a VPCS instance
Parameters
- uuid: VPCS instance UUID
Response status codes
- 200: Success
- 404: VPCS instance doesn't exist
Sample session
examples/get_vpcsuuid.txt
PUT /vpcs/{uuid}
Update a VPCS instance
Response status codes
- 200: VPCS instance updated
- 409: Conflict
Input
Name | Mandatory | Type | Description |
---|---|---|---|
console | ['integer', 'null'] | console TCP port | |
name | ['string', 'null'] | VPCS device name | |
script_file | ['string', 'null'] | VPCS startup script | |
startup_script | ['string', 'null'] | Content of the VPCS startup script |
Output
Name | Mandatory | Type | Description |
---|---|---|---|
console | ✔ | integer | console TCP port |
name | ✔ | string | VPCS device name |
project_uuid | ✔ | 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 |