mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
http: api: implement vmm.ping
vmm.ping will help to check if http API server is up and running. This also removes the vmm.info endpoint. Signed-off-by: Jose Carlos Venegas Munoz <jose.carlos.venegas.munoz@intel.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
348a1bc30e
commit
a518651402
@@ -12,16 +12,16 @@ servers:
|
||||
|
||||
paths:
|
||||
|
||||
/vmm.info:
|
||||
/vmm.ping:
|
||||
get:
|
||||
summary: Returns general information about the cloud-hypervisor Virtual Machine Monitor (VMM).
|
||||
summary: Ping the VMM to check for API server availability
|
||||
responses:
|
||||
200:
|
||||
description: The VMM information
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/VmmInfo'
|
||||
$ref: '#/components/schemas/VmmPingResponse'
|
||||
|
||||
/vmm.shutdown:
|
||||
put:
|
||||
@@ -126,7 +126,7 @@ paths:
|
||||
components:
|
||||
schemas:
|
||||
|
||||
VmmInfo:
|
||||
VmmPingResponse:
|
||||
required:
|
||||
- version
|
||||
type: object
|
||||
|
||||
Reference in New Issue
Block a user