Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/astrid-project/lcp
In each local agent, the control plane is responsible for programmability, i.e., changing the behaviour of the data plane at run-time.
https://github.com/astrid-project/lcp
agent beats control data ebpf elasticsearch log logstash management programmability security
Last synced: about 2 months ago
JSON representation
In each local agent, the control plane is responsible for programmability, i.e., changing the behaviour of the data plane at run-time.
- Host: GitHub
- URL: https://github.com/astrid-project/lcp
- Owner: astrid-project
- License: mit
- Created: 2019-12-12T11:13:14.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-11-04T14:24:08.000Z (about 2 months ago)
- Last Synced: 2024-11-04T15:30:36.692Z (about 2 months ago)
- Topics: agent, beats, control, data, ebpf, elasticsearch, log, logstash, management, programmability, security
- Language: Python
- Homepage: https://astrid-lcp.readthedocs.io
- Size: 783 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Authors: AUTHORS.md
Awesome Lists containing this project
README
# Local Control Plane
[![License](https://img.shields.io/github/license/astrid-project/lcp)](https://github.com/astrid-project/lcp/blob/master/LICENSE)
[![Code size](https://img.shields.io/github/languages/code-size/astrid-project/lcp?color=red&logo=github)](https://github.com/astrid-project/lcp)
[![Repository Size](https://img.shields.io/github/repo-size/astrid-project/lcp?color=red&logo=github)](https://github.com/astrid-project/lcp)
[![Release](https://img.shields.io/github/v/tag/astrid-project/lcp?label=release&logo=github)](https://github.com/astrid-project/lcp/releases)
[![Docker image](https://img.shields.io/docker/image-size/astridproject/lcp?label=image&logo=docker)](https://hub.docker.com/repository/docker/astridproject/lcp)
[![Docs](https://readthedocs.org/projects/astrid-lcp/badge/?version=latest)](https://astrid-lcp.readthedocs.io)In each local agent, the control plane is responsible for programmability, i.e., changing the behaviour of the data plane at run-time.
---
- [Local Control Plane](#local-control-plane)
- [Guide](#guide)
- [Installation](#installation)
- [Configuration](#configuration)
- [Usage](#usage)
- [Display help](#display-help)
- [Execute](#execute)
- [Extra](#extra)---
## Guide
See the [Swagger Schema](swagger/schema.yaml) for more details about the REST endpoints and relative formats and requirements of request and response.
## Installation
1. Prerequisite
- python3
- pip32. Clone the repository.
```bash
git clone https://gitlab.com/astrid-repositories/lcp.git
cd lcp
```3. Install the dependencies (optional).
```bash
pip3 install -r requirements.txt
```## Configuration
The configurations are stored in the [config.ini](config.ini) file.
Section | Setting | Default value | Note
--------------------|---------------|-----------------------|---------------------------
local-control-plane | host | 0.0.0.0 | IP address to accept requests.
local-control-plane | port | 4000 | TCP port to accept requests.
local-control-plane | https | false | Accept only HTTPS requests.
auth | enabled | true | Enable JWT authentication.
auth | header-prefix | ASTRID | Header prefix for JWT authentication.
auth | secret-key | astrid-secret-key | Secret key for JWT authentication.
elastic-apm | enabled | false | Enable Elastic APM integration.
elastic-apm | server | http://localhost:8200 | Elastic APM server.
polycube | host | localhost | IP address to contact the polycube installation.
polycube | port | 9000 | Port address to contact the polycube installation.
polycube | timeout | 20s | Timeout for the connection to polycube.
log | config | log.yaml | Path of the log configuration file.## Usage
### Display help
```bash
python3 main.py -h
```### Execute
```bash
python3 main.py
```## Extra
See the **Issues** for *features* in development.