예제 #1
0
파일: service.py 프로젝트: pcish/ds
 def _load_saved_state(self):
     """Read and reproduce the state of the cluster from this instance's
     varstore."""
     depot_list = self.var.get_depot_list()
     for depot_spec in depot_list:
         depot = Depot(self, depot_spec['uuid'])
         self._depot_map[depot_spec['uuid']] = depot
         depot._load_saved_state()