Home | History | Annotate | Download | only in common_lib

Lines Matching refs:subnet

42 # subnet. Each item is a tuple of (subnet_ip, mask_bits), e.g.,
47 for subnet in restricted_subnets_list:
48 ip, mask_bits = subnet.split(':')
52 # can have following config in CLIENT section to indicate that hosts in subnet
594 """Check if two IP addresses are in the same subnet with given mask bits.
600 @param mask_bits: Number of mask bits for subnet comparison. Default to 24.
602 @return: True if the two IP addresses are in the same subnet.
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.
654 """Get the restricted subnet of given hostname.
656 @param hostname: Name of the host to look for matched restricted subnet.
661 subnet.
674 The method tries to locate the wireless ssid in the same subnet of given
695 # Following line extract the subnet ip and mask bit from the key name.