/virtualbox
---------------------------------------------
.. contents::
POST /virtualbox
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Create a new VirtualBox VM instance
Response status codes
**********************
- **400**: Invalid project UUID
- **201**: VirtualBox VM instance created
- **409**: Conflict
Input
*******
.. raw:: html
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
*******
.. raw:: html
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
***************
.. literalinclude:: examples/post_virtualbox.txt