X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fcortexlab%2Fcortexlabshell.py;h=d68f6357246b9900688e886dc77025482f674405;hb=e09eeec50a96e492e5180de3256f832ff6c1353c;hp=54c637a54928507874b46a39306d349649f48041;hpb=8e2dae64ec980df7f4fb309afe517556703d68fa;p=sfa.git diff --git a/sfa/cortexlab/cortexlabshell.py b/sfa/cortexlab/cortexlabshell.py index 54c637a5..d68f6357 100644 --- a/sfa/cortexlab/cortexlabshell.py +++ b/sfa/cortexlab/cortexlabshell.py @@ -22,7 +22,7 @@ from sfa.trust.gid import create_uuid from sfa.trust.hierarchy import Hierarchy from sfa.iotlab.iotlabaggregate import iotlab_xrn_object -from sfa.cortexlab.cortexlabnodes import CortexlabQueryNodes +from sfa.cortexlab.cortexlabnodes import CortexlabQueryTestbed class CortexlabShell(): """ Class enabled to use LDAP and OAR api calls. """ @@ -39,7 +39,7 @@ class CortexlabShell(): :type config: Config object """ self.leases_db = TestbedAdditionalSfaDB(config) - self.query_sites = CortexlabQueryNodes() + self.query_sites = CortexlabQueryTestbed() self.ldap = LDAPapi() self.time_format = "%Y-%m-%d %H:%M:%S" self.root_auth = config.SFA_REGISTRY_ROOT_AUTH