heat.common.netutils module

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.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.