gns3-server/docs/api/v2/compute/vpcs/projectsprojectidvpcsvms.rst
Julien Duponchelle 97aea5f82a
Doc update
2016-04-18 16:58:06 +02:00

3.8 KiB

/v2/compute/projects/{project_id}/vpcs/vms

POST /v2/compute/projects/{project_id}/vpcs/vms

Create a new VPCS instance

Parameters

  • project_id: UUID for the project

Response status codes

  • 400: Invalid request
  • 201: Instance created
  • 409: Conflict

Input

Name Mandatory Type Description
console ['integer', 'null'] console TCP port
console_type enum Possible values: telnet
name string VPCS VM name
startup_script ['string', 'null'] Content of the VPCS startup script
vm_id VPCS VM identifier

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
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
vm_id string VPCS VM UUID

Sample session

../../../examples/compute_post_projectsprojectidvpcsvms.txt