def __init__(self, *args, **kwargs):
     """
     Initializes an AlbaNode, setting up its additional helpers
     """
     DataObject.__init__(self, *args, **kwargs)
     self._frozen = False
     self.client = ASDManagerClient(self)
     self._frozen = True
Example #2
0
 def __init__(self, *args, **kwargs):
     """
     Initializes a vDisk, setting up its additional helpers
     """
     DataObject.__init__(self, *args, **kwargs)
     self._frozen = False
     self._storagedriver_client = None
     self._frozen = True
Example #3
0
 def __init__(self, *args, **kwargs):
     """
     Initializes a vDisk, setting up its additional helpers
     """
     DataObject.__init__(self, *args, **kwargs)
     self._frozen = False
     self._storagedriver_client = None
     self._frozen = True
Example #4
0
 def __init__(self, *args, **kwargs):
     """
     Initializes a MDSService, setting up its additional helpers
     """
     DataObject.__init__(self, *args, **kwargs)
     self._frozen = False
     self.metadataserver_client = None
     self._frozen = True
     self.reload_client()
 def __init__(self, *args, **kwargs):
     """
     Initializes an AlbaNode, setting up its additional helpers
     """
     DataObject.__init__(self, *args, **kwargs)
     self._frozen = False
     self.client = None
     if os.environ.get('RUNNING_UNITTESTS') == 'True':
         self.client = ManagerClientMockup(self)
     else:
         if self.type not in self.CLIENTS:
             raise NotImplementedError('Type {0} is not implemented'.format(
                 self.type))
         self.client = self.CLIENTS[self.type](self)
     self._frozen = True