gns3-server/docs/api/virtualbox.rst

2.6 KiB

/virtualbox

POST /virtualbox

Create a new VirtualBox VM instance

Response status codes

  • 400: Invalid project UUID
  • 201: VirtualBox VM instance created
  • 409: Conflict

Input

Name Mandatory Type Description
linked_clone boolean either the VM is a linked clone or not
name string VirtualBox VM instance name
project_uuid string Project UUID
uuid string VirtualBox VM instance UUID
vbox_id integer VirtualBox VM instance ID (for project created before GNS3 1.3)
vmname string VirtualBox VM name (in VirtualBox itself)

Output

Name Mandatory Type Description
console integer console TCP port
name string VirtualBox VM instance name
project_uuid string Project UUID
uuid string VirtualBox VM instance UUID

Sample session

examples/post_virtualbox.txt