summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-24 15:30:51 -0500
committerJeff Carr <[email protected]>2024-10-24 15:30:51 -0500
commit965f0ada9ceebe7a2008f350734278bf8785cb44 (patch)
treef9cb87673c08b73162de9cb933292405e326b71f
parentc3aebcdcf25e8915ea9d1d77a30fd6006419c871 (diff)
easy updates
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--events.proto12
1 files changed, 9 insertions, 3 deletions
diff --git a/events.proto b/events.proto
index 995de5a..2bebdf9 100644
--- a/events.proto
+++ b/events.proto
@@ -2,14 +2,19 @@ syntax = "proto3";
package virtbuf;
message Events {
- repeated Event stuff = 1;
+ string uuid = 1; // I guess why not just have this on each file
+ string version = 2; // maybe can be used for protobuf schema change violations
+ int64 event_size = 3; // max events to store in a single
+ repeated Event events = 4; // all the events
}
message Event {
int32 id = 1;
EventType etype = 2;
- string droplet = 3; // uuid of the droplet
- string hypervisor = 4; // uuid of the hypervisor
+ string droplet = 3; // name of the droplet
+ string droplet_uuid = 4; // uuid of the droplet
+ string hypervisor = 5; // name of the hypervisor
+ string hypervisor_uuid = 6; // uuid of the hypervisor
}
enum EventType {
@@ -25,4 +30,5 @@ enum EventType {
OK = 9; // everything is ok
FAIL = 10; // everything failed
CRASH = 11; // droplet hard crashed
+ CHANGE = 12; // droplet or hypervisor config change
}