summaryrefslogtreecommitdiff
path: root/droplet.proto
diff options
context:
space:
mode:
Diffstat (limited to 'droplet.proto')
-rw-r--r--droplet.proto10
1 files changed, 7 insertions, 3 deletions
diff --git a/droplet.proto b/droplet.proto
index adf1299..f52fa7f 100644
--- a/droplet.proto
+++ b/droplet.proto
@@ -1,6 +1,7 @@
syntax = "proto3";
package virtbuf;
+import "google/protobuf/duration.proto"; // Import the well-known type for Timestamp
import "google/protobuf/timestamp.proto"; // Import the well-known type for Timestamp
message Droplets {
@@ -27,7 +28,10 @@ message Droplet {
string local_only = 14; // this is only defined locally on the hypervisor
string custom_xml = 15; // if needed,
- DropletArchive archive = 16; // what the state of the droplet is SUPPOSED TO BE ('on' or 'off')
+ Archive archive = 16; // what the state of the droplet is SUPPOSED TO BE ('on' or 'off')
+
+ google.protobuf.Timestamp unstable = 39; // the last time we heard anything from this droplet
+ google.protobuf.Duration unstable_timeout = 40; // the last time we heard anything from this droplet
}
// volatile data. the current settings and values of things.
@@ -58,8 +62,8 @@ enum DropletState {
}
enum DropletArchive {
- ARCHIVE_DUP = 0;
- ARCHIVE_USER = 1;
+ DUP = 0;
+ USER = 1;
}
message Network {