parent
c3aebcdcf2
commit
965f0ada9c
12
events.proto
12
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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue