-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
Description
In order to asynchronously control the guest lifecycle, we need to be able to start lumper
as a daemon waiting for HTTP formatted API requests on an UNIX socket:
lumper --api-socket /var/run/lumper.sock
would then allow for asynchronously configure, create, start and stop VMs by sending HTTP API requests to the --api-socket
socket.
A PUT 'http://localhost/api/v1/vm.create' {....payload...}
would for example be used to create and configure a VM, that could then be booted through a PUT 'http://localhost/api/v1/vm.boot'
See for example: https://github.com/cloud-hypervisor/cloud-hypervisor/blob/main/vmm/src/api/openapi/cloud-hypervisor.yaml