0.9.3
New Aggregation Algorithms
PrefixMap::aggregate_consistentandPrefixSet::aggregate_consistentremove covering prefixes (that are covered with the same value). Anyget_lpmcall (for any prefix) will still return the same value (with a potential different result).PrefixSet::aggregateremoves covering prefixes and merges adjacent ones. In contrast toaggregate_consistent, callingget_lpmon addresses (e.g., /32 on IPv4) still yields the same value. However, for prefixes, that is not the case.PrefixMap::aggregate,PrefixMap::aggregate_fill, andPrefixMap::aggregate_fill_defaultare implementation of the ORTC algorithm by R. P. Draves, C. King, S. Venkatachary, and B. D. Zill. Thefillvariants are allowed to add new prefixes (e.g., 0.0.0.0/0) with the provided default value, while the non-fillvariant does ensures that uncovered prefixes remain uncovered.
Bug Fixes
- Add missing
joint::map::OccupiedEntry::into_mutfunction
Full Changelog: v0.9.1...v0.9.3