child_respool = root.addchild(
ResourcePoolWatcher(StxResourcePoolClient(),
self.bus))
+
+ # Add Aggregate watch
child_respool.addchild(
ComputeAggWatcher(ComputeAggClient(), self.bus))
child_respool.addchild(
child_respool.addchild(
UndefinedAggWatcher(UndefinedAggClient(), self.bus))
+ # Add Resource watch
child_pserver = child_respool.addchild(
PServerWatcher(StxPserverClient(), self.bus))
child_pserver.addchild(
child_pserver.addchild(
PServerAccWatcher(StxAccClient(), self.bus))
- self.worker.add_watcher(root)
-
# Add Alarm watch
- root = WatcherTree(
+ child_respool.addchild(
AlarmWatcher(StxAlarmClient(self.bus.uow), self.bus))
+
self.worker.add_watcher(root)
self.worker.start()