diff --git a/vmm/src/api/openapi/cloud-hypervisor.yaml b/vmm/src/api/openapi/cloud-hypervisor.yaml index 8137ebef3..e9b3fae70 100644 --- a/vmm/src/api/openapi/cloud-hypervisor.yaml +++ b/vmm/src/api/openapi/cloud-hypervisor.yaml @@ -203,6 +203,22 @@ paths: 500: description: The new device could not be added to the VM instance. + /vm.add-net: + put: + summary: Add a new network device to the VM + requestBody: + description: The details of the new network device + content: + application/json: + schema: + $ref: '#/components/schemas/NetConfig' + required: true + responses: + 204: + description: The new device was successfully added to the VM instance. + 500: + description: The new device could not be added to the VM instance. + components: schemas: