Esempio n. 1
0
 def attach_snap(self, snap):
     snap_name = VNXSnap.get_name(snap)
     out = self._cli.attach_snap(snap_name,
                                 lun_id=self.get_id(self),
                                 poll=self.poll)
     if len(out):
         raise ex.VNXAttachSnapError(out)
Esempio n. 2
0
 def attach_snap(self, snap):
     snap_name = VNXSnap.get_name(snap)
     out = self._cli.attach_snap(snap_name,
                                 lun_id=self.get_id(self),
                                 poll=self.poll)
     ex.raise_if_err(out,
                     'failed to attach snap {}'.format(snap_name),
                     default=ex.VNXAttachSnapError)
Esempio n. 3
0
File: lun.py Progetto: crook/storops
 def attach_snap(self, snap):
     snap_name = VNXSnap.get_name(snap)
     out = self._cli.attach_snap(snap_name, lun_id=self.get_id(self),
                                 poll=self.poll)
     ex.raise_if_err(out, 'failed to attach snap {}'.format(snap_name),
                     default=ex.VNXAttachSnapError)
Esempio n. 4
0
 def attach_snap(self, snap):
     snap_name = VNXSnap.get_name(snap)
     out = self._cli.attach_snap(snap_name, lun_id=self.get_id(self),
                                 poll=self.poll)
     if len(out):
         raise ex.VNXAttachSnapError(out)