/v2/computes
------------------------------------------------------------------------------------------------------------------------------------------
.. contents::
POST /v2/computes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Register a compute
Response status codes
**********************
- **201**: Compute added
Input
*******
.. raw:: html
Name | Mandatory | Type | Description |
compute_id | ✔ | string | Server identifier |
host | ✔ | string | Server host |
password | | string | Password for auth |
port | ✔ | integer | Server port |
protocol | ✔ | enum | Possible values: http, https |
user | | string | User for auth |
Output
*******
.. raw:: html
Name | Mandatory | Type | Description |
compute_id | ✔ | string | Server identifier |
connected | | boolean | True if controller is connected to the compute |
host | ✔ | string | Server host |
port | ✔ | integer | Server port |
protocol | ✔ | enum | Possible values: http, https |
user | | string | User for auth |
version | | ['string', 'null'] | Version of the GNS3 remote compute |
GET /v2/computes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
List compute nodes
Response status codes
**********************
- **200**: Compute list