/vpcs
---------------------------------------------
.. contents::
POST /vpcs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Create a new VPCS instance
Response status codes
**********************
- **201**: VPCS instance created
- **409**: Conflict
Input
*******
.. raw:: html
Name | Mandatory | Type | Description |
console | | integer | console TCP port |
name | ✔ | string | VPCS device name |
project_uuid | ✔ | string | Project UUID |
uuid | | string | VPCS device UUID |
vpcs_id | | integer | VPCS device instance ID (for project created before GNS3 1.3) |
Output
*******
.. raw:: html
Name | Mandatory | Type | Description |
console | ✔ | integer | console TCP port |
name | ✔ | string | VPCS device name |
project_uuid | ✔ | string | Project UUID |
uuid | ✔ | string | VPCS device UUID |
Sample session
***************
.. literalinclude:: examples/post_vpcs.txt