gns3-server/docs/api/v2/compute/vpcs/projectsprojectidvpcsnodes.rst
2018-01-08 09:26:44 +01:00

3.4 KiB

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

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

Create a new VPCS instance

Parameters

  • project_id: Project UUID

Response status codes

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

Input

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

Output

Name Mandatory Type Description
command_line string Last command line used by GNS3 to start VPCS
console integer Console TCP port
console_type enum Possible values: telnet
name string VPCS VM name
node_directory string Path to the VM working directory
node_id string Node UUID
project_id string Project UUID
status enum Possible values: started, stopped, suspended

Sample session

../../../examples/compute_post_projectsprojectidvpcsnodes.txt