def parse_search_values_from_opts(opts):

    search_values = {}
    for key in ('id', 'region', 'zone', 'ip', 'port', 'replication_ip',
                'replication_port', 'device', 'weight', 'meta'):
        value = getattr(opts, key, None)
        if value:
            if key == 'ip' or key == 'replication_ip':
                value = validate_and_normalize_address(value)
        search_values[key] = value
    return search_values
Array containing system paths
dataset/ETHPy150Open openstack/swift/swift/common/ring/utils.py/parse_search_values_from_opts--crossover with--dataset/ETHPy150Open markjones112358/dmenu-extended/dmenu_extended.py/dmenu.system_path