'Return server-LDEV connection info.'

def get_properties(self, targets, connector, target_lun=None):

    multipath = connector.get('multipath', False)
    if (self.storage_info['protocol'] == 'FC'):
        data = self.get_properties_fc(targets)
    elif (self.storage_info['protocol'] == 'iSCSI'):
        data = self.get_properties_iscsi(targets, multipath)
    if (target_lun is not None):
        data['target_discovered'] = False
        if ((not multipath) or (self.storage_info['protocol'] == 'FC')):
            data['target_lun'] = target_lun
        else:
            target_luns = []
            for target in targets['list']:
                if targets['lun'][target[0]]:
                    target_luns.append(target_lun)
            data['target_luns'] = target_luns
    return data
