Searched refs:format_ip_with_mask (Results 1 – 2 of 2) sorted by relevance
61 self.assertEqual(utils.format_ip_with_mask('192.168.0.1', 0),63 self.assertEqual(utils.format_ip_with_mask('192.168.0.1', 32),65 self.assertEqual(utils.format_ip_with_mask('192.168.0.1', 26),67 self.assertEqual(utils.format_ip_with_mask('192.168.0.255', 26),
336 def format_ip_with_mask(ip, mask_bits): function