def add_node(self, node, cb=None):
        self.set(prefix="node-", key=node.id,
                  value={"uri": node.external_uri,
                         "control_uri": node.external_control_uri,
                         "attributes": {'public': node.attributes.get_public(),
                                        'indexed_public': node.attributes.get_indexed_public(as_list=False)}}, cb=cb)
        self._add_node_index(node)
        # Store all actors on this node in storage
        GlobalStore(node=node).export()
Add node to storage
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/storage.py/Storage.add_node