Feature 10339 - Enhanced Alarm Mgmt. (SOL005 FM Interface)

Change-Id: I917a09ebc4c3b262b5dea8056cae775615a654d6
Signed-off-by: Atul Agarwal <atul.agarwal@altran.com>
(cherry picked from commit e9228cf9ae98c524d477cf823a59515864aba07e)
diff --git a/osm_policy_module/common/mon_client.py b/osm_policy_module/common/mon_client.py
index ff8339f..b8c3779 100644
--- a/osm_policy_module/common/mon_client.py
+++ b/osm_policy_module/common/mon_client.py
@@ -53,6 +53,7 @@
         threshold: int,
         operation: str,
         statistic: str = "AVERAGE",
+        action: str = '',
     ):
         cor_id = random.randint(1, 10e7)
         msg = self._build_create_alarm_payload(
@@ -64,6 +65,7 @@
             threshold,
             statistic,
             operation,
+            action,
         )
         log.debug("Sending create_alarm_request %s", msg)
         producer = AIOKafkaProducer(
@@ -170,6 +172,7 @@
         threshold: int,
         statistic: str,
         operation: str,
+        action: str,
     ):
 
         alarm_create_request = {
@@ -182,6 +185,7 @@
             "severity": "critical",
             "threshold_value": threshold,
             "statistic": statistic,
+            "action": action,
             "tags": {
                 "ns_id": ns_id,
                 "vdu_name": vdu_name,