diff options
Diffstat (limited to 'hypervisor.proto')
| -rw-r--r-- | hypervisor.proto | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/hypervisor.proto b/hypervisor.proto index ecadd81..8de8aa8 100644 --- a/hypervisor.proto +++ b/hypervisor.proto @@ -1,23 +1,25 @@ syntax = "proto3"; package virtpb; -// global settings for autogenpb `autogenpb:mutex` +import "google/protobuf/timestamp.proto"; -message Hypervisors { // `autogenpb:marshal` `autogenpb:gui` - string uuid = 1; // `autogenpb:uuid:6e3aa8b9-cf98-40f6-af58-3c6ad1edf4d4` - string version = 2; // `autogenpb:version:v0.0.1` - repeated Hypervisor hypervisors = 3; +message Hypervisors { // `autogenpb:marshal` `autogenpb:gui` + 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; + int64 killcount = 9; // in bytes + google.protobuf.Timestamp lastPoll = 10; // the last time we heard anything } // think about this more |
