summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--droplet.proto12
-rw-r--r--hypervisor.proto4
2 files changed, 8 insertions, 8 deletions
diff --git a/droplet.proto b/droplet.proto
index 7c7f2fb..9dbba2c 100644
--- a/droplet.proto
+++ b/droplet.proto
@@ -13,17 +13,17 @@ message Droplet {
int64 cpus = 3; // what's the point of int64 vs int32
int64 memory = 4; // in bytes
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 qemu_arch = 8; // what arch. example: "x86_64" or "riscv64"
- string qemu_cpu = 9; // qemu-system -cpu help
- string qemu_machine = 10; // qemu-system -machine help
- int64 spice_port = 11; // preferred port to use for spice
+ string qemu_arch = 8; // what arch. example: "x86_64" or "riscv64"
+ string qemu_cpu = 9; // qemu-system -cpu help
+ string qemu_machine = 10; // qemu-system -machine help
+ int64 spice_port = 11; // preferred port to use for spice
repeated Network networks = 12; // really just mac addresses. should be unique across cluster
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
google.protobuf.Any testany = 15;
diff --git a/hypervisor.proto b/hypervisor.proto
index fa3a190..3d2d87d 100644
--- a/hypervisor.proto
+++ b/hypervisor.proto
@@ -2,9 +2,9 @@ syntax = "proto3";
package virtbuf;
message Hypervisor {
- string uuid = 1;
+ string uuid = 1;
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 memory = 5; // in bytes
string comment = 6;