Fixes for Eucalyptus aggregate manager
authorAndy Bavier <acb@cs.princeton.edu>
Mon, 14 Jun 2010 19:09:05 +0000 (19:09 +0000)
committerAndy Bavier <acb@cs.princeton.edu>
Mon, 14 Jun 2010 19:09:05 +0000 (19:09 +0000)
sfa/managers/aggregate_manager_eucalyptus.py
sfa/plc/api.py

index 9b97038..82ddb57 100644 (file)
@@ -3,7 +3,6 @@ from sfa.util.faults import *
 from sfa.util.namespace import *
 from sfa.util.rspec import RSpec
 from sfa.server.registry import Registries
-from sfa.plc.nodes import *
 
 import boto
 from boto.ec2.regioninfo import RegionInfo
index a75dd33..c0c0d13 100644 (file)
@@ -103,7 +103,7 @@ class SfaAPI(BaseAPI):
         self.credential = None
         # Initialize the PLC shell only if SFA wraps a myPLC
         rspec_type = self.config.get_aggregate_type()
-        if (rspec_type == 'pl' or rspec_type == 'vini'):
+        if (rspec_type == 'pl' or rspec_type == 'vini' or rspec_type == 'eucalyptus'):
             self.plshell = self.getPLCShell()
             self.plshell_version = "4.3"