easy updates

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-10-24 15:30:51 -05:00
parent c3aebcdcf2
commit 965f0ada9c
1 changed files with 9 additions and 3 deletions

View File

@ -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
}