From ddc0410126f6da0165f48f9023526dc47de52e5b Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 7 Feb 2025 04:41:25 -0600 Subject: fix proto files to conform with autogenpb --- hypervisor.proto | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'hypervisor.proto') diff --git a/hypervisor.proto b/hypervisor.proto index 703ffb3..e7a2a42 100644 --- a/hypervisor.proto +++ b/hypervisor.proto @@ -3,21 +3,21 @@ package virtbuf; // global settings for autogenpb `autogenpb:mutex` -message Hypervisors { // `autogenpb:marshal` - string uuid = 1; // I guess why not just have this on each file - string version = 2; // maybe can be used for protobuf schema change violations - repeated Hypervisor hypervisors = 3; +message Hypervisors { // `autogenpb:marshal` + string uuid = 1; // `autogenpb:uuid:6e3aa8b9-cf98-40f6-af58-3c6ad1edf4d4` + string version = 2; // `autogenpb:version:v0.0.1` + repeated Hypervisor hypervisors = 3; } message Hypervisor { - string uuid = 1; // `autogenpb:unique` - string hostname = 2; // `autogenpb:unique` - 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; + string uuid = 1; // `autogenpb:unique` + string hostname = 2; // `autogenpb:unique` + 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 -- cgit v1.2.3