SOL006 patch for POL
[osm/POL.git] / osm_policy_module / common / mon_client.py
index f578462..c83f794 100644 (file)
@@ -44,7 +44,7 @@ class MonClient:
         self.loop = loop
 
     async def create_alarm(self, metric_name: str, ns_id: str, vdu_name: str, vnf_member_index: str, threshold: int,
-                           statistic: str, operation: str):
+                           operation: str, statistic: str = 'AVERAGE'):
         cor_id = random.randint(1, 10e7)
         msg = self._build_create_alarm_payload(cor_id,
                                                metric_name,