'svctask rmhost <host>'

def _cmd_rmhost(self, **kwargs):

    if ('obj' not in kwargs):
        return self._errors['CMMVC50000']
    host_name = kwargs['obj'].strip('\'"')
    if (host_name not in self._hosts_list):
        return self._errors['CMMVC50000']
    for v in self._mappings_list.values():
        if (v['host'] == host_name):
            return self._errors['CMMVC50000']
    del self._hosts_list[host_name]
    return ('', '')
