diff options
| author | Jeff Carr <[email protected]> | 2024-10-24 16:09:39 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-10-24 16:09:39 -0500 |
| commit | 5b7c1879c6ed68ec37c3b89f9eec82775a5d891a (patch) | |
| tree | e1b1c40170ce3ccf403f9966aec04f621a499f28 | |
| parent | 7a31bd08c53e4e21297e8fa5a9a2f1ec39294530 (diff) | |
minor formating
Signed-off-by: Jeff Carr <[email protected]>
| -rw-r--r-- | droplet.proto | 12 | ||||
| -rw-r--r-- | hypervisor.proto | 4 |
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; |
