summaryrefslogtreecommitdiffstats
path: root/events/eventskeygen.py
diff options
context:
space:
mode:
authorMilind Changire <mchangir@redhat.com>2016-09-05 21:51:19 +0530
committerDan Lambright <dlambrig@redhat.com>2016-09-08 05:32:20 -0700
commitcd23242b8953040b231f402c334f16520ac8029f (patch)
tree38c2c11f64765dabfaaeccd332f8859feb39d44c /events/eventskeygen.py
parent6f182733d943aff5212175c58dd59b2da64b9d8b (diff)
cluster/tier: add tiering events
Add events for: * tier attach and detach * tier pause and resume * tier rising and dropping hi and lo watermarks Update eventskeygen.py with tiering events. Update cli help with: * attach: add optional force argument * detach: make force available as non-optional argument on its own Change-Id: I43990d3a8742151a4a7889bafa19cb572fe661bd BUG: 1368336 Signed-off-by: Milind Changire <mchangir@redhat.com> Reviewed-on: http://review.gluster.org/15232 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Dan Lambright <dlambrig@redhat.com> Tested-by: Dan Lambright <dlambrig@redhat.com>
Diffstat (limited to 'events/eventskeygen.py')
-rw-r--r--events/eventskeygen.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/events/eventskeygen.py b/events/eventskeygen.py
index 7f3f6572a04..1e7b6b6958a 100644
--- a/events/eventskeygen.py
+++ b/events/eventskeygen.py
@@ -149,6 +149,19 @@ keys = (
"EVENT_AFR_SUBVOL_UP",
"EVENT_AFR_SUBVOLS_DOWN",
"EVENT_AFR_SPLIT_BRAIN",
+
+ "EVENT_TIER_ATTACH",
+ "EVENT_TIER_ATTACH_FORCE",
+ "EVENT_TIER_DETACH_START",
+ "EVENT_TIER_DETACH_STOP",
+ "EVENT_TIER_DETACH_COMMIT",
+ "EVENT_TIER_DETACH_FORCE",
+ "EVENT_TIER_PAUSE",
+ "EVENT_TIER_RESUME",
+ "EVENT_TIER_WATERMARK_HI",
+ "EVENT_TIER_WATERMARK_DROPPED_TO_MID",
+ "EVENT_TIER_WATERMARK_RAISED_TO_MID",
+ "EVENT_TIER_WATERMARK_DROPPED_TO_LOW",
)
LAST_EVENT = "EVENT_LAST"