Lines Matching refs:servers
626 def get_servers_in_same_subnet(host_ip, mask_bits, servers=None,
628 """Get the servers in the same subnet of the given host ip.
632 @param servers: A list of servers to be filtered by subnet specified by
638 @return: A list of servers in the same subnet of the given host ip.
642 if not servers and not server_ip_map:
643 raise ValueError('Either `servers` or `server_ip_map` must be given.')
644 if not servers:
645 servers = server_ip_map.keys()
646 for server in servers: