Skip to content

HTTP API #9

@sameo

Description

@sameo

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions