attempt at hypervisor arch
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
08757bc315
commit
f4cb9e27ce
|
@ -1,7 +1,6 @@
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
package virtbuf;
|
package virtbuf;
|
||||||
|
|
||||||
// import "google/protobuf/any.proto";
|
|
||||||
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
|
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
|
||||||
|
|
||||||
message Droplets {
|
message Droplets {
|
||||||
|
|
|
@ -8,11 +8,19 @@ message Hypervisors {
|
||||||
}
|
}
|
||||||
|
|
||||||
message Hypervisor {
|
message Hypervisor {
|
||||||
string uuid = 1;
|
string uuid = 1;
|
||||||
string hostname = 2;
|
string hostname = 2;
|
||||||
bool active = 3; // is allowed to start new droplets
|
bool active = 3; // is allowed to start new droplets
|
||||||
int64 cpus = 4;
|
int64 cpus = 4;
|
||||||
int64 memory = 5; // in bytes
|
int64 memory = 5; // in bytes
|
||||||
string comment = 6;
|
string comment = 6;
|
||||||
bool autoscan = 7; // to scan or not to scan by virtigo
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue