Enhance: Enable O2 IMS for distributed cloud
[pti/o2.git] / o2ims / service / watcher / pserver_mem_watcher.py
index 635961d..2b5caaa 100644 (file)
@@ -31,7 +31,11 @@ class PServerMemWatcher(ResourceWatcher):
     def _targetname(self):
         return "pserver_mem"
 
-    def _probe(self, parent: StxGenericModel):
+    def _probe(self, parent: StxGenericModel, tags):
+        # Set a tag for children resource
+        self._tags.pool = tags.pool
+        self._set_respool_client()
+
         hostid = parent.id
         newmodels = self._client.list(hostid=hostid)
         return [commands.UpdatePserverMem(data=m, parentid=hostid)