Searched refs:format_ip_with_mask (Results 1 – 2 of 2) sorted by relevance
51 self.assertEqual(base_utils.format_ip_with_mask('192.168.0.1', 0),53 self.assertEqual(base_utils.format_ip_with_mask('192.168.0.1', 32),55 self.assertEqual(base_utils.format_ip_with_mask('192.168.0.1', 26),57 self.assertEqual(base_utils.format_ip_with_mask('192.168.0.255', 26),
315 def format_ip_with_mask(ip, mask_bits): function