satyaranjanp / l3afd

L3AFD kernel function control plane

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

L3AFD: Lightweight eBPF Application Foundation Daemon

L3AF_Logo

L3AFD is a crucial part of the L3AF ecosystem. For more information on L3AF see https://l3af.io/

Design

L3AFD is the primary component of the L3AF control plane. L3AFD is a daemon that orchestrates and manages multiple eBPF programs, which we refer to as Kernel Functions. L3AFD runs on each node where the user wishes to run Kernel Functions. L3AFD reads configuration data and manages the execution and monitoring of KFs running on the node.

L3AFD downloads pre-built eBPF programs from a user-configured file repository. However, we envision the creation of a community-driven Kernel Function Marketplace where L3AF users can obtain a variety of Kernel Functions developed by multiple sources.

L3AF Platform

Try it out

See our L3AF Development Environment for a quick and easy way to try out L3AF on your local machine.

Generate Swagger Docs

See our Swaggo setup

Building

To build on your local machine, do the following.

For Linux:

go build .

For Windows:

go build -tags WINDOWS .

One can also build and generate swagger docs by doing.

For Linux:

make

For Windows:

cmake -B build
cmake --build build

Testing

To test on your local machine, do the following.

For Linux:

go test ./...

For Windows:

go test -tags WINDOWS ./...

Contributing

Contributing to L3afd is fun. To get started:

About

L3AFD kernel function control plane

License:Apache License 2.0


Languages

Language:Go 98.8%Language:CMake 1.0%Language:Makefile 0.2%