aboutsummaryrefslogtreecommitdiffstats
path: root/hv-collector-domain
diff options
context:
space:
mode:
authorkjaniak <kornel.janiak@nokia.com>2018-07-25 14:02:27 +0200
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2018-08-03 09:55:19 +0200
commitefceaa86a2fc3eb22b9e30bafd08c0fb6ad2a783 (patch)
treea56fc159369f44fec5be42d776285c867e81bf66 /hv-collector-domain
parentfc6ab3e5fee2bc3e607848caa665b166d6f38dd6 (diff)
Enable UNDEFINED option in commonHeader GPB schema
Closes ONAP-655 Change-Id: I6fc830d2b8c7bdd726f306a6fbf7e979f39e03f0 Signed-off-by: kjaniak <kornel.janiak@nokia.com> Issue-ID: DCAEGEN2-601
Diffstat (limited to 'hv-collector-domain')
-rw-r--r--hv-collector-domain/src/main/proto/VesEvent-v5.proto32
1 files changed, 17 insertions, 15 deletions
diff --git a/hv-collector-domain/src/main/proto/VesEvent-v5.proto b/hv-collector-domain/src/main/proto/VesEvent-v5.proto
index 022cce4e..340133b2 100644
--- a/hv-collector-domain/src/main/proto/VesEvent-v5.proto
+++ b/hv-collector-domain/src/main/proto/VesEvent-v5.proto
@@ -30,27 +30,29 @@ message VesEvent {
message CommonEventHeader {
string version = 1; // required, "version of the event header"
enum Domain {
- FAULT = 0;
- HEARTBEAT = 1;
- MEASUREMENTS_FOR_VF_SCALING = 2;
- MOBILE_FLOW = 3;
- SIP_SIGNALING = 4;
- STATE_CHANGE = 5;
- SYSLOG = 6;
- THRESHOLD_CROSSING_ALERT = 7;
- VOICE_QUALITY = 8;
- OTHER = 9;
- HVRANMEAS = 10;
+ DOMAIN_UNDEFINED = 0;
+ FAULT = 1;
+ HEARTBEAT = 2;
+ MEASUREMENTS_FOR_VF_SCALING = 3;
+ MOBILE_FLOW = 4;
+ SIP_SIGNALING = 5;
+ STATE_CHANGE = 6;
+ SYSLOG = 7;
+ THRESHOLD_CROSSING_ALERT = 8;
+ VOICE_QUALITY = 9;
+ OTHER = 10;
+ HVRANMEAS = 11;
}
Domain domain = 2; // required, "the eventing domain associated with the event" [map to string]
uint32 sequence = 3; // required, "ordering of events communicated by an event source instance or 0 if not needed"
enum Priority {
- HIGH = 0;
- MEDIUM = 1;
- NORMAL = 2;
- LOW = 3;
+ PRIORITY_UNDEFINED = 0;
+ HIGH = 1;
+ MEDIUM = 2;
+ NORMAL = 3;
+ LOW = 4;
}
Priority priority = 4; // required, "processing priority"