heat.common.netutils module

heat.common.netutils.is_prefix_subset(orig_prefixes, new_prefixes)[source]

Check whether orig_prefixes is subset of new_prefixes.

This takes valid prefix lists for orig_prefixes and new_prefixes, returns ‘True’, if orig_prefixes is subset of new_prefixes.

heat.common.netutils.validate_dns_format(data)[source]