Skip to content
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

API for attaching BPF programs inside network namespaces #342

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anfredette
Copy link
Contributor

@anfredette anfredette commented Nov 18, 2024

This API addition allows XDP, TC, and TCX BPF programs to be attached to interfaces inside network namespaces.

The related API from the Network Observability Operator was adapted.

This draft API allows the interfaces and network namespaces to be wildcarded with the expectation that bfpman will automatically discover network namespaces and interfaces, but it is expected that the first implementation will require that at least the network namespace be specified.

@anfredette anfredette force-pushed the netns-support branch 2 times, most recently from b5ffae1 to f230aa8 Compare November 18, 2024 20:32
Copy link

codecov bot commented Nov 18, 2024

Codecov Report

Attention: Patch coverage is 0% with 42 lines in your changes missing coverage. Please review.

Project coverage is 27.48%. Comparing base (55cd2da) to head (494d49d).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
apis/v1alpha1/zz_generated.deepcopy.go 0.00% 41 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #342      +/-   ##
==========================================
- Coverage   27.64%   27.48%   -0.16%     
==========================================
  Files          87       87              
  Lines        7499     7541      +42     
==========================================
  Hits         2073     2073              
- Misses       5226     5267      +41     
- Partials      200      201       +1     
Flag Coverage Δ
unittests 27.48% <0.00%> (-0.16%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

This API addition allows XDP, TC, and TCX BPF programs to be attached to
interfaces inside network namespaces.

The API from the Network Observability Operator
(https://github.com/netobserv/network-observability-operator)
was adapted.

Signed-off-by: Andre Fredette <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant