'Deletes a GPFS snapshot.'

def delete_snapshot(self, snapshot):

    snapshot_path = self._get_snapshot_path(snapshot)
    snapshot_ts_path = ('%s.ts' % snapshot_path)
    self.gpfs_execute('mv', snapshot_path, snapshot_ts_path)
    self.gpfs_execute('rm', '-f', snapshot_ts_path, check_exit_code=False)
