From 131f7a124901e939e41f1a172c18e8bea4a0af4b Mon Sep 17 00:00:00 2001 From: Shubhendu Date: Wed, 23 May 2018 09:45:34 +0530 Subject: [PATCH] Added a flag delete_telemetry_data for flow UnmanageCluster Based on this flag passed with value `yes`, the monitoring data maintained for the cluster under carbon would be deleted. If flag is not passed or passed as `no`, the data would be archived in the pre-defined path. bugzilla: 1582375 tendrl-bug-id: Tendrl/commons#819 Signed-off-by: Shubhendu --- tendrl/commons/objects/definition/master.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tendrl/commons/objects/definition/master.yaml b/tendrl/commons/objects/definition/master.yaml index ab5fd70c..d284710b 100644 --- a/tendrl/commons/objects/definition/master.yaml +++ b/tendrl/commons/objects/definition/master.yaml @@ -94,6 +94,8 @@ namespace.tendrl: inputs: mandatory: - TendrlContext.integration_id + optional: + - Cluster.delete_telemetry_data pre_run: - tendrl.objects.Cluster.atoms.CheckClusterNodesUp post_run: