dedupe_list()
is_ipv4()
is_ipv6()
is_readable()
valid_hostnames()
This module contains utility functions used by the Hosts and HostsEntry methods
Utility function to remove duplicates from a list :param seq: The sequence (list) to deduplicate :return: A list with original duplicates removed
Return True if entry is a valid IPv4 address.
True
entry
Return True if entry is a valid IPv6 address.
Return True if path exists and is readable.
path
Return True if all items in hostname_list are valid hostnames.
hostname_list