gns3-server/docs/api/vpcs.rst

3.0 KiB

/vpcs

POST /vpcs

Create a new VPCS instance

Response status codes

  • 400: Invalid project UUID
  • 201: VPCS instance created
  • 409: Conflict

Input

Name Mandatory Type Description
console ['integer', 'null'] 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
vpcs_id integer VPCS device instance ID (for project created before GNS3 1.3)

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

Sample session

examples/post_vpcs.txt