summaryrefslogtreecommitdiffstats
path: root/events/eventskeygen.py
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2016-07-19 17:28:14 +0530
committerAravinda VK <avishwan@redhat.com>2016-07-28 03:14:18 -0700
commit7e00626b0dcd04b4f38d7cb1a3288ba6740ed9b6 (patch)
tree20cea0bd79bdd9f364ce460410008acc769b6e8f /events/eventskeygen.py
parentec6925a379c7bee071df1638bc2751b266cee346 (diff)
eventsapi: Volume Set and Reset Events
Example of published data for Volume Set: { "nodeid": NODEID, "ts": TIMESTAMP, "event": "VOLUME_SET", "message": { "name": VOLUME_NAME, "options": [[KEY1, VALUE1], [KEY2, VALUE2],..] } } Example of published data for Volume Reset: { "nodeid": NODEID, "ts": TIMESTAMP, "event": "VOLUME_RESET", "message": { "name": VOLUME_NAME, "option": KEY } } BUG: 1358671 Change-Id: If30cc95396459b2a9993b3412ee6d05d27f6a86a Signed-off-by: Aravinda VK <avishwan@redhat.com> Reviewed-on: http://review.gluster.org/14973 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'events/eventskeygen.py')
-rw-r--r--events/eventskeygen.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/events/eventskeygen.py b/events/eventskeygen.py
index 656a7dce9f1..f9bdb9fed52 100644
--- a/events/eventskeygen.py
+++ b/events/eventskeygen.py
@@ -25,6 +25,8 @@ keys = (
"EVENT_VOLUME_START",
"EVENT_VOLUME_STOP",
"EVENT_VOLUME_DELETE",
+ "EVENT_VOLUME_SET",
+ "EVENT_VOLUME_RESET",
)
LAST_EVENT = "EVENT_LAST"