2024-10-22 03:26:02 -05:00
|
|
|
syntax = "proto3";
|
|
|
|
package virtbuf;
|
|
|
|
|
2024-10-24 16:57:50 -05:00
|
|
|
message Hypervisors {
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2024-10-22 03:26:02 -05:00
|
|
|
message Hypervisor {
|
2024-10-24 16:09:39 -05:00
|
|
|
string uuid = 1;
|
2024-10-22 03:50:01 -05:00
|
|
|
string hostname = 2;
|
2024-10-24 16:09:39 -05:00
|
|
|
bool active = 3; // is allowed to start new droplets
|
2024-10-22 03:50:01 -05:00
|
|
|
int64 cpus = 4;
|
2024-10-22 17:39:12 -05:00
|
|
|
int64 memory = 5; // in bytes
|
2024-10-22 03:50:01 -05:00
|
|
|
string comment = 6;
|
2024-10-22 17:39:12 -05:00
|
|
|
bool autoscan = 7; // to scan or not to scan by virtigo
|
2024-10-22 03:26:02 -05:00
|
|
|
}
|