'processes all the nodes in a particular datacenter'

def load_data_for_datacenter(self, datacenter):

    (index, nodes) = self.consul_api.catalog.nodes(dc=datacenter)
    for node in nodes:
        self.add_node_to_map(self.nodes_by_datacenter, datacenter, node)
        self.load_data_for_node(node['Node'], datacenter)
