summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--droplet.proto8
-rw-r--r--hypervisor.proto5
2 files changed, 7 insertions, 6 deletions
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
}