Feature 10885 - K8 Cluster and CNF Monitoring
[osm/MON.git] / osm_mon / core / common_db.py
index 1e78bc8..4f6ace0 100644 (file)
@@ -165,6 +165,9 @@ class CommonDbClient:
     def get_project(self, project_id: str):
         return self.common_db.get_one("projects", {"_id": project_id})
 
+    def get_k8sclusters(self):
+        return self.common_db.get_list("k8sclusters")
+
     def create_alarm(self, alarm: Alarm):
         action_data = {"uuid": alarm.uuid, "action": alarm.action}
         self.common_db.create("alarms_action", action_data)