From: Marco Yuen Date: Wed, 22 Jun 2011 18:06:42 +0000 (-0400) Subject: GENICLOUD-25 X-Git-Tag: sfa-1.0-28~9^2 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=c90f032c4d4f33aecfbba35cd08ce1c20a8a41db;p=sfa.git GENICLOUD-25 Start a thread that will poll Eucalyptus for instance data. --- diff --git a/sfa/managers/aggregate_manager_eucalyptus.py b/sfa/managers/aggregate_manager_eucalyptus.py index fdd299bd..26e5742e 100644 --- a/sfa/managers/aggregate_manager_eucalyptus.py +++ b/sfa/managers/aggregate_manager_eucalyptus.py @@ -158,6 +158,10 @@ def init_server(): EucaInstance.createTable(ifNotExists=True) IP.createTable(ifNotExists=True) + # Start the update thread to keep track of the meta data + # about Eucalyptus instance. + Thread(target=updateMeta).start() + # Make sure the schema exists. if not os.path.exists(EUCALYPTUS_RSPEC_SCHEMA): err = 'Cannot location schema at %s' % EUCALYPTUS_RSPEC_SCHEMA