From 1b78a341de44212fb42a15b40d292aa18a6a7a37 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 22 Oct 2024 17:39:12 -0500 Subject: [PATCH] autoscan Signed-off-by: Jeff Carr --- droplet.proto | 8 ++++---- hypervisor.proto | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/droplet.proto b/droplet.proto index 5befe97..87f215e 100644 --- a/droplet.proto +++ b/droplet.proto @@ -26,11 +26,11 @@ message Droplet { string name = 2; } - message Disk { - string filename = 1; - int64 size = 2; - } +} +message Disk { + string filename = 1; + int64 size = 2; } message StorageInfo { diff --git a/hypervisor.proto b/hypervisor.proto index c76612d..fa3a190 100644 --- a/hypervisor.proto +++ b/hypervisor.proto @@ -4,8 +4,9 @@ package virtbuf; message Hypervisor { string uuid = 1; string hostname = 2; - bool active = 3; + bool active = 3; // is allowed to start new droplets int64 cpus = 4; - int64 memory = 5; + int64 memory = 5; // in bytes string comment = 6; + bool autoscan = 7; // to scan or not to scan by virtigo }