'Deletes existing vdisks.'

def _delete_vdisk(self, name, force):

    LOG.debug('enter:    _delete_vdisk:    vdisk    %s.', name)
    vdisk_defined = self._is_vdisk_defined(name)
    if (not vdisk_defined):
        LOG.warning('warning:    Tried    to    delete    vdisk    %s    but    it    does    not    exist.', name)
        return
    ssh_cmd = ['svctask', 'rmvdisk', '-force', name]
    if (not force):
        ssh_cmd.remove('-force')
    (out, err) = self._ssh(ssh_cmd)
    self._assert_ssh_return((not out.strip()), ('_delete_vdisk    %(name)s' % {'name': name}), ssh_cmd, out, err)
    LOG.debug('leave:    _delete_vdisk:    vdisk    %s.', name)
