parent
7a31bd08c5
commit
5b7c1879c6
|
@ -13,17 +13,17 @@ message Droplet {
|
||||||
int64 cpus = 3; // what's the point of int64 vs int32
|
int64 cpus = 3; // what's the point of int64 vs int32
|
||||||
int64 memory = 4; // in bytes
|
int64 memory = 4; // in bytes
|
||||||
DropletState start_state = 5; // what the state of the droplet is SUPPOSED TO BE ('on' or 'off')
|
DropletState start_state = 5; // what the state of the droplet is SUPPOSED TO BE ('on' or 'off')
|
||||||
string notes = 6; // maybe useful for something
|
string notes = 6; // maybe useful for something
|
||||||
string preferred_hypervisor = 7; // the hypervisor to prefer to run the droplet on
|
string preferred_hypervisor = 7; // the hypervisor to prefer to run the droplet on
|
||||||
string qemu_arch = 8; // what arch. example: "x86_64" or "riscv64"
|
string qemu_arch = 8; // what arch. example: "x86_64" or "riscv64"
|
||||||
string qemu_cpu = 9; // qemu-system -cpu help
|
string qemu_cpu = 9; // qemu-system -cpu help
|
||||||
string qemu_machine = 10; // qemu-system -machine help
|
string qemu_machine = 10; // qemu-system -machine help
|
||||||
int64 spice_port = 11; // preferred port to use for spice
|
int64 spice_port = 11; // preferred port to use for spice
|
||||||
|
|
||||||
repeated Network networks = 12; // really just mac addresses. should be unique across cluster
|
repeated Network networks = 12; // really just mac addresses. should be unique across cluster
|
||||||
repeated Disk disks = 13; // disks to attach
|
repeated Disk disks = 13; // disks to attach
|
||||||
|
|
||||||
DropletState state = 14; // if the droplet is on, off, etc
|
DropletState state = 14; // if the droplet is on, off, etc
|
||||||
|
|
||||||
// trying to figure out how this stuff should work
|
// trying to figure out how this stuff should work
|
||||||
google.protobuf.Any testany = 15;
|
google.protobuf.Any testany = 15;
|
||||||
|
|
|
@ -2,9 +2,9 @@ syntax = "proto3";
|
||||||
package virtbuf;
|
package virtbuf;
|
||||||
|
|
||||||
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;
|
||||||
|
|
Loading…
Reference in New Issue