neutron_lib.api.definitions.multiprovidernet module¶
- neutron_lib.api.definitions.multiprovidernet.check_duplicate_segments(segments, is_partial_func=None)¶
Helper function checking duplicate segments.
If is_partial_funcs is specified and not None, then SegmentsContainDuplicateEntry is raised if two segments are identical and non partially defined (is_partial_func(segment) == False). Otherwise SegmentsContainDuplicateEntry is raised if two segment are identical.