/v2/hypervisors
------------------------------------------------------------------------------------------------------------------------------------------
.. contents::
POST /v2/hypervisors
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Register a hypervisor
Response status codes
**********************
- **201**: Hypervisor added
Input
*******
.. raw:: html
Name | Mandatory | Type | Description |
host | ✔ | string | Server host |
hypervisor_id | ✔ | string | Server identifier |
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 |
connected | | boolean | True if controller is connected to the hypervisor |
host | ✔ | string | Server host |
hypervisor_id | ✔ | string | Server identifier |
port | ✔ | integer | Server port |
protocol | ✔ | enum | Possible values: http, https |
user | | string | User for auth |
version | | ['string', 'null'] | Version of the GNS3 remote hypervisor |