'Update port-gid list for the specified LDEV.'

def _find_mapped_targets_from_storage(self, targets, ldev, target_ports, is_pair=False):

    ldev_info = self.get_ldev_info(['ports'], '-ldev_id', ldev)
    if (not ldev_info['ports']):
        return
    for ports_strings in ldev_info['ports']:
        ports = ports_strings.split()
        if _is_valid_target(ports[0], ports[2], target_ports, is_pair):
            targets['list'].append(ports[0])
