We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Building from main, I see this when manually testing adding/removing static routes:
main
➜ maghemite git:(f5dbb6a) ./target/debug/mgadm static add-v4-route 1.1.1.1/32 100.64.0.0 ➜ maghemite git:(f5dbb6a) ./target/debug/mgadm static add-v4-route 1.1.1.1/32 100.64.0.1 ➜ maghemite git:(f5dbb6a) ./target/debug/mgadm static get-v4-routes { "1.1.1.1/32": [ Path { bgp: None, local_pref: None, nexthop: 100.64.0.0, shutdown: false, vlan_id: None, }, Path { bgp: None, local_pref: None, nexthop: 100.64.0.1, shutdown: false, vlan_id: None, }, ], } ➜ maghemite git:(f5dbb6a) ./target/debug/mgadm static remove-v4-routes 1.1.1.1/32 100.64.0.0 ➜ maghemite git:(f5dbb6a) ./target/debug/mgadm static get-v4-routes { "1.1.1.1/32": [ Path { bgp: None, local_pref: None, nexthop: 100.64.0.1, shutdown: false, vlan_id: None, }, ], } ➜ maghemite git:(f5dbb6a) ./target/debug/mgadm static remove-v4-routes 1.1.1.1/32 100.64.0.1 ➜ maghemite git:(f5dbb6a) ./target/debug/mgadm static get-v4-routes { "1.1.1.1/32": [], }
I don't think we should be retaining 1.1.1.1/32 after deletion of the last path.
The text was updated successfully, but these errors were encountered:
Cleanup key in rib_in when all paths are removed
13854a7
Fixes: #369 Signed-off-by: Trey Aspelund <trey@oxidecomputer.com>
082ff27
985a9fb
Successfully merging a pull request may close this issue.
Building from
main
, I see this when manually testing adding/removing static routes:I don't think we should be retaining 1.1.1.1/32 after deletion of the last path.
The text was updated successfully, but these errors were encountered: