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

Investigate mechanisms for integration of extracted modules with L3AF/Polycube #83

Open
sdsen opened this issue Mar 22, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request Extraction Extracting code from monoliths feature new capability to be added. Opened Developer tools for opened framework

Comments

@sdsen
Copy link
Member

sdsen commented Mar 22, 2023

We want to be able to create L3AF NF modules modules with code extracted from large monoliths like Katran, Cilium etc. The task will involve:

  1. extracting modules using tool from this repo.
  2. writing appropriate wrappers for L3AF
  3. Simple user-code using https://github.com/eBPFDevSecTools/ebpf-client-sdk
@sdsen sdsen added enhancement New feature or request feature new capability to be added. Extraction Extracting code from monoliths labels Mar 23, 2023
@dushyantbehl
Copy link
Member

dushyantbehl commented Mar 23, 2023

To clear, L3AFD will be used to package and run the extracted module and mapaccess-sdk will be used to provide the userspace side of access to the module if needed.

  1. L3AFD -
  • Setup the dev environment as suggested by L3AF
  • Package the extracted function and submit it to the L3AF via a call to L3AF daemon's API
  • Test if the program gets loaded and attaches to the desired interface by looking at the system state.
  1. ebpf-mapaccess-sdk -
  • For userspace side of things if needed look at the README which contains information on how to run the sdk and interact with an ebpf program.

@palanik1 palanik1 added the Opened Developer tools for opened framework label Mar 29, 2023
@palanik1
Copy link
Member

palanik1 commented Apr 9, 2023

Depends on #84

@palanik1 palanik1 changed the title Investigate mechanisms for integration of module with L3AF/Polycube Investigate mechanisms for integration of extracted modules with L3AF/Polycube Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Extraction Extracting code from monoliths feature new capability to be added. Opened Developer tools for opened framework
Projects
None yet
Development

No branches or pull requests

6 participants