minor formating

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-10-24 16:09:39 -05:00
parent 7a31bd08c5
commit 5b7c1879c6
2 changed files with 8 additions and 8 deletions

View File

@ -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;

View File

@ -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;