'svcinfo lsportip'

def _cmd_lsportip(self, **kwargs):

    if ((self._protocol == 'iSCSI') or (self._protocol == 'both')):
        IP_address1 = '192.168.1.10'
        IP_address2 = '192.168.1.11'
        state = 'online'
        speed = '8G'
    else:
        IP_address1 = ''
        IP_address2 = ''
        state = ''
        speed = ''
    rows = ([None] * 3)
    rows[0] = ['id', 'node_id', 'node_name', 'canister_id', 'adapter_id', 'port_id', 'IP_address', 'mask', 'gateway', 'IP_address_6', 'prefix_6', 'gateway_6', 'MAC', 'duplex', 'state', 'speed', 'failover', 'link_state', 'host', 'host_6', 'vlan', 'vlan_6', 'adapter_location', 'adapter_port_id']
    rows[1] = ['1', '1', 'node1', '0', '0', '0', IP_address1, '', '', '', '0', '', '11:22:33:44:55:AA', '', state, speed, 'no', 'active', '', '', '', '', '0', '0']
    rows[2] = ['2', '2', 'node2', '0', '0', '0', IP_address2, '', '', '', '0', '', '11:22:33:44:55:BB', '', state, speed, 'no', 'active', '', '', '', '', '0', '0']
    return self._print_cmd_info(rows=rows, **kwargs)
