-
Notifications
You must be signed in to change notification settings - Fork 3.4k
cilium-dbg: Add "bpf ipcache delete/update" #35454
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
squeed
merged 4 commits into
cilium:main
from
jschwinger233:gray/cilium-cli-bpf-ipcache
Oct 23, 2024
Merged
cilium-dbg: Add "bpf ipcache delete/update" #35454
squeed
merged 4 commits into
cilium:main
from
jschwinger233:gray/cilium-cli-bpf-ipcache
Oct 23, 2024
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
591cf17
to
b323dd9
Compare
/test |
b323dd9
to
ee1c467
Compare
/test |
YutaroHayakawa
approved these changes
Oct 22, 2024
squeed
reviewed
Oct 22, 2024
squeed
reviewed
Oct 22, 2024
squeed
reviewed
Oct 22, 2024
squeed
reviewed
Oct 22, 2024
squeed
reviewed
Oct 22, 2024
squeed
requested changes
Oct 22, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Basic idea is fine, just some cleanups.
Do we need to add any warnings that this is a very low-level tool? Or is it sufficiently hidden that nobody will find it (and break their cluster)?
$ cilium-dbg bpf ipcache delete 10.244.3.110/32 Deleted entry 10.244.3.110/32 $ cilium-dbg bpf ipcache delete 10.244.3.110/31 Error deleting entry 10.244.3.110/31: unable to delete element 10.244.3.110/31 from map cilium_ipcache: delete: key does not exist Signed-off-by: gray <gray.liang@isovalent.com>
$ cilium-dbg bpf ipcache update 10.244.3.110/32 --tunnelendpoint 172.21.0.2 --identity 6 --encryptkey 255 --clusterid 0 Updated entry 10.244.3.110/32 => identity=6 encryptkey=255 tunnelendpoint=172.21.0.2 flags=<none> Signed-off-by: gray <gray.liang@isovalent.com>
Signed-off-by: gray <gray.liang@isovalent.com>
make -C Documentation update-cmdref Signed-off-by: gray <gray.liang@isovalent.com>
ee1c467
to
a47b96f
Compare
/test |
squeed
approved these changes
Oct 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
ready-to-merge
This PR has passed all tests and received consensus from code owners to merge.
release-note/misc
This PR makes changes that have no direct user impact.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
#35231 will use two new ipcache cmd to temporarily delete ipcache entries for strict mode encryption test.
Suggested-by: Timo Beckers timo@isovalent.com