start of fanout

This commit is contained in:
Sandy Walsh
2011-03-03 16:28:04 -04:00
parent 54b0f477e7
commit 813c522ef2
4 changed files with 34 additions and 0 deletions

View File

@@ -105,6 +105,7 @@ class ZoneManager(object):
def __init__(self):
self.last_zone_db_check = datetime.min
self.zone_states = {}
self.compute_states = {}
self.green_pool = greenpool.GreenPool()
def get_zone_list(self):
@@ -141,3 +142,6 @@ class ZoneManager(object):
self.last_zone_db_check = datetime.now()
self._refresh_from_db(context)
self._poll_zones(context)
def update_compute_capabilities(self):
logging.debug(_("****** UPDATE COMPUTE CAPABILITIES *******"))