Testing cortexlab objects - few fixes.
authorSandrine Avakian <sandrine.avakian@inria.fr>
Fri, 15 Nov 2013 14:00:46 +0000 (15:00 +0100)
committerSandrine Avakian <sandrine.avakian@inria.fr>
Fri, 15 Nov 2013 14:00:46 +0000 (15:00 +0100)
sfa/cortexlab/cortexlabshell.py
sfa/cortexlab/cortexlabslices.py

index d0f5834..54c637a 100644 (file)
@@ -21,7 +21,8 @@ from sfa.trust.certificate import Keypair, convert_public_key
 from sfa.trust.gid import create_uuid
 from sfa.trust.hierarchy import Hierarchy
 
-from sfa.cortexlab.iotlabaggregate import iotlab_xrn_object
+from sfa.iotlab.iotlabaggregate import iotlab_xrn_object
+from sfa.cortexlab.cortexlabnodes import CortexlabQueryNodes
 
 class CortexlabShell():
     """ Class enabled to use LDAP and OAR api calls. """
index f7ba032..2e58ea5 100644 (file)
@@ -8,7 +8,7 @@ from sfa.util.sfalogging import logger
 MAXINT = 2L**31-1
 
 
-class IotlabSlices:
+class CortexlabSlices:
     """
     This class is responsible for checking the slice when creating a
     lease or a sliver. Those checks include verifying that the user is valid,