From f4cb9e27ce6d963d6fa613ab8131945e833443ce Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Thu, 31 Oct 2024 09:28:45 -0500 Subject: attempt at hypervisor arch Signed-off-by: Jeff Carr --- hypervisor.proto | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) (limited to 'hypervisor.proto') diff --git a/hypervisor.proto b/hypervisor.proto index 7e9d6be..ccbbb6b 100644 --- a/hypervisor.proto +++ b/hypervisor.proto @@ -8,11 +8,19 @@ message Hypervisors { } message Hypervisor { - string uuid = 1; - string hostname = 2; - bool active = 3; // is allowed to start new droplets - int64 cpus = 4; - int64 memory = 5; // in bytes - string comment = 6; - bool autoscan = 7; // to scan or not to scan by virtigo + string uuid = 1; + string hostname = 2; + bool active = 3; // is allowed to start new droplets + int64 cpus = 4; + int64 memory = 5; // in bytes + string comment = 6; + bool autoscan = 7; // to scan or not to scan by virtigo + HypervisorArch arch = 8; +} + +// think about this more +enum HypervisorArch { + RISCV64 = 0; + X86_64 = 1; + ARM64 = 2; } -- cgit v1.2.3