from sfa.rspecs.version_manager import VersionManager
from sfa.rspecs.rspec import RSpec
-from sfa.cortexlab.cortexlabaggregate import CortexlabAggregate, \
- cortexlab_xrn_to_hostname
+from sfa.cortexlab.cortexlabaggregate import CortexlabAggregate
from sfa.cortexlab.cortexlabslices import CortexlabSlices
from sfa.cortexlab.cortexlabshell import CortexlabShell
if get_authority(lease['component_id']) == \
self.testbed_shell.root_auth:
single_requested_lease['hostname'] = \
- cortexlab_xrn_to_hostname(\
+ xrn_to_hostname(\
lease.get('component_id').strip())
single_requested_lease['start_time'] = \
lease.get('start_time')
:param config: configuration object from sfa.util.config
:type config: Config object
"""
- self.leases_db = TestbedAdditionalSfaDB(config)
+
self.query_sites = CortexlabQueryNodes()
self.ldap = LDAPapi()
self.time_format = "%Y-%m-%d %H:%M:%S"
""" File defining the importer class and all the methods needed to import
the nodes, users and slices from OAR and LDAP to the SFA database.
-Also creates the iotlab specific databse and table to keep track
+Also creates the iotlab specific table to keep track
of which slice hrn contains which job.
"""
from sfa.util.config import Config