summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-22 17:39:12 -0500
committerJeff Carr <[email protected]>2024-10-22 17:39:12 -0500
commit1b78a341de44212fb42a15b40d292aa18a6a7a37 (patch)
treedc2999c62433af6648892f25033e7fe1d9dc6c55
parentc0c2533aaa33fc6e2fa1247c9a08de8b911475f3 (diff)
autoscan
Signed-off-by: Jeff Carr <[email protected]>
-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
}