Skip to content

Remove the use of the iptrie crate #693

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 37 commits into from
Jul 14, 2025

chore(mgmt): Use IpNet -> Prefix conversion instead of manual bitmask

a08ef5f
Select commit
Loading
Failed to load commit list.
Merged

Remove the use of the iptrie crate #693

chore(mgmt): Use IpNet -> Prefix conversion instead of manual bitmask
a08ef5f
Select commit
Loading
Failed to load commit list.
DCO-2 / DCO succeeded Jul 14, 2025 in 0s

Check passed!

All commits are signed off, the check passed.

Summary


Sha Message Pass or fail reason
🟢 f0cf07c feat(lpm): Add new lpm crate Valid sign-off found
🟢 3ad7ee8 chore: Move prefix from routing to lpm Valid sign-off found
🟢 a126f4d chore(lpm): Enable clippy lints and fix issues Valid sign-off found
🟢 5148a01 chore(lpm): Expose Ipv4Prefix, Ipv6Prefix, and fri... Valid sign-off found
🟢 84a97ea feat(lpm): Add trie module Valid sign-off found
🟢 5e8431c chore(routing): Move references from iptrie to lpm Valid sign-off found
🟢 9217319 chore(mgmt): Remove use of iptrie in mgmt Valid sign-off found
🟢 9823cb3 chore(nat): Remove use of iptrie in nat Valid sign-off found
🟢 7f365a7 fix(lpm)!: Remove buggy iptrie library Valid sign-off found
🟢 5e1fec9 feat(lpm): Add From for IpAddr to Prefix Valid sign-off found
🟢 4d78ace fix(mgmt): Move to new lpm lib Valid sign-off found
🟢 fb3c54a fix(lpm): Fix bugs and add tests for prefix code Valid sign-off found
🟢 00e66fc fix(nat): Move to new lpm lib Valid sign-off found
🟢 b40fdf8 fix(routing): Move to new lpm lib Valid sign-off found
🟢 aee1aa2 fix(mgmt): collapse_prefix_lists now removes all p... Valid sign-off found
🟢 d2ac4f4 chore(mgmt): routing::prefix to lpm::prefix Valid sign-off found
🟢 1a49bd0 chore(nat): routing::prefix to lpm::prefix Valid sign-off found
🟢 1d317a4 chore(routing)!: Remove prefix move to lpm::Prefix Valid sign-off found
🟢 30fe6b8 feat(lpm)!: Extend IpPrefix to provide ROOT const Valid sign-off found
🟢 a3319eb feat(lpm)!: safe new for trie with default Valid sign-off found
🟢 0f6e284 feat(lpm): const-ify select methods Valid sign-off found
🟢 f64f744 fix(lpm)!: add logic to check that host bits are n... Valid sign-off found
🟢 004b121 fix(lpm): host bits set in tests Valid sign-off found
🟢 790bf21 chore: trivial formatting Valid sign-off found
🟢 67c27d8 feat(lpm): make Ipv4/6 prefix transparent Valid sign-off found
🟢 2cdc693 fix(lpm): remove outdated method Valid sign-off found
🟢 08eeae0 fix(lpm): new without default Valid sign-off found
🟢 630344b feat(lpm): reduce required bounds on IpPrefix Valid sign-off found
🟢 c59df52 feat(lpm): de-complicate type bounds on TrieMap Valid sign-off found
🟢 6ed1a7e test(lpm): contracts for ip prefix Valid sign-off found
🟢 2f58de5 fix(lpm)!: missing debug_assert on remove of root Valid sign-off found
🟢 e26ee60 chore: missing patch levels Valid sign-off found
🟢 ebe9b32 fix(lpm)!: adjust semantics of IpNet -> prefix Valid sign-off found
🟢 ba6cbc5 fix(lpm)!: broken TrieMapNew signature Valid sign-off found
🟢 167617d fix(lpm)!: rename TrieMapNew to TrieMapFactory Valid sign-off found
🟢 ae514ac feat(lpm): Add From impl for Prefix Valid sign-off found
🟢 a08ef5f chore(mgmt): Use IpNet -> Prefix conversion instea... Valid sign-off found