'lshost command.
svcinfo lshost -delim !
svcinfo lshost -delim ! <host>'

def _cmd_lshost(self, **kwargs):

    if ('obj' not in kwargs):
        rows = []
        rows.append(['id', 'name', 'port_count', 'iogrp_count', 'status'])
        for host in self._hosts_list.values():
            rows.append([host['id'], host['host_name'], '1', '1', 'degraded'])
        if (len(rows) > 1):
            return self._print_cmd_info(rows=rows, **kwargs)
        else:
            return ('', '')
    else:
        host_name = kwargs['obj'].strip('\'"')
        if (host_name not in self._hosts_list):
            return self._errors['CMMVC50000']
        host = self._hosts_list[host_name]
        rows = []
        rows.append(['id', host['id']])
        rows.append(['name', host['host_name']])
        rows.append(['port_count', '1'])
        rows.append(['type', 'generic'])
        rows.append(['mask', '1111'])
        rows.append(['iogrp_count', '1'])
        rows.append(['status', 'degraded'])
        for port in host['iscsi_names']:
            rows.append(['iscsi_name', port])
            rows.append(['node_logged_in_count', '0'])
            rows.append(['state', 'offline'])
        for port in host['wwpns']:
            rows.append(['WWPN', port])
            rows.append(['node_logged_in_count', '0'])
            rows.append(['state', 'active'])
        if ('delim' in kwargs):
            for index in range(len(rows)):
                rows[index] = kwargs['delim'].join(rows[index])
        return (('%s' % '\n'.join(rows)), '')
