diff --git a/droplet.proto b/droplet.proto index 5befe97..87f215e 100644 --- a/droplet.proto +++ b/droplet.proto @@ -26,11 +26,11 @@ message Droplet { string name = 2; } - message Disk { - string filename = 1; - int64 size = 2; - } +} +message Disk { + string filename = 1; + int64 size = 2; } message StorageInfo { diff --git a/hypervisor.proto b/hypervisor.proto index c76612d..fa3a190 100644 --- a/hypervisor.proto +++ b/hypervisor.proto @@ -4,8 +4,9 @@ package virtbuf; message Hypervisor { string uuid = 1; string hostname = 2; - bool active = 3; + bool active = 3; // is allowed to start new droplets int64 cpus = 4; - int64 memory = 5; + int64 memory = 5; // in bytes string comment = 6; + bool autoscan = 7; // to scan or not to scan by virtigo }