4 from urlparse import urlparse
5 from sfa.util.sfalogging import logger
6 from sfa.util.config import Config
9 from sfa.openstack.client import GlanceClient, NovaClient, KeystoneClient
17 A simple native shell to a nova backend.
18 This class can receive all nova calls to the underlying testbed
21 # dont care about limiting calls yet
25 # use the 'capability' auth mechanism for higher performance when the PLC
27 def __init__(self, config=None):
31 # instantiate managers
32 self.auth_manager = KeystoneClient(config=config)
33 self.image_manager = GlanceClient(config=config)
34 self.nova_manager = NovaClient(config=config)
36 logger.debug('nova access - REST')
37 raise SfaNotImplemented('nova access - Rest')