mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-01-11 07:22:37 +00:00
3.1 KiB
3.1 KiB
/v2/hypervisors
POST /v2/hypervisors
Register a hypervisor
Response status codes
- 201: Hypervisor added
Input
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
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 |