def add_node(self, node):
        if not isinstance(node, Node):
            try:
                node = Node.registry[node]
            except __HOLE__:
                logger.error("Unable to find Node '%s' in registry.", node)
        logger.debug("Adding node '%s' to monitoring group '%s'.", node.name,
                     self.name)
        self.nodes[node.name] = node
        node.monitoring_groups[self.name] = self
dataset/ETHPy150Open cloudtools/nymms/nymms/resources.py/MonitoringGroup.add_node