From b822d090b9b6ee257313f4d6ca816336c5c3e852 Mon Sep 17 00:00:00 2001 From: Andy Bavier Date: Mon, 14 Jun 2010 19:09:05 +0000 Subject: [PATCH] Fixes for Eucalyptus aggregate manager --- sfa/managers/aggregate_manager_eucalyptus.py | 1 - sfa/plc/api.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/sfa/managers/aggregate_manager_eucalyptus.py b/sfa/managers/aggregate_manager_eucalyptus.py index 9b970380..82ddb578 100644 --- a/sfa/managers/aggregate_manager_eucalyptus.py +++ b/sfa/managers/aggregate_manager_eucalyptus.py @@ -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 diff --git a/sfa/plc/api.py b/sfa/plc/api.py index a75dd335..c0c0d13d 100644 --- a/sfa/plc/api.py +++ b/sfa/plc/api.py @@ -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" -- 2.43.0