From cb15ae54624ef28a47c2950640f2dbbd23a01801 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabiano=20Fid=C3=AAncio?= Date: Mon, 10 Jan 2022 13:26:41 +0100 Subject: [PATCH] vmm: openapi: Fix default value for tap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `tap` has its default value set to `None`, but in the openapi yaml file we've been setting it to `""`. When using this code on the Kata Containers side we'd be hit by a non expected behaviour of cloud-hypervisor, as even when using a different method to initialise the `tuntap` device the code would be treated as if using `--net tap` (which is a valid use-case). Related: #3554 Signed-off-by: Fabiano FidĂȘncio --- vmm/src/api/openapi/cloud-hypervisor.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/vmm/src/api/openapi/cloud-hypervisor.yaml b/vmm/src/api/openapi/cloud-hypervisor.yaml index abfff607f..77e5a85e5 100644 --- a/vmm/src/api/openapi/cloud-hypervisor.yaml +++ b/vmm/src/api/openapi/cloud-hypervisor.yaml @@ -744,7 +744,6 @@ components: properties: tap: type: string - default: "" ip: type: string default: "192.168.249.1"