{"id":18348409,"url":"https://github.com/astrid-project/lcp","last_synced_at":"2025-04-06T09:31:42.923Z","repository":{"id":43047946,"uuid":"227588412","full_name":"astrid-project/lcp","owner":"astrid-project","description":"In each local agent, the control plane is responsible for programmability, i.e., changing the behaviour of the data plane at run-time.","archived":false,"fork":false,"pushed_at":"2025-03-31T14:57:59.000Z","size":837,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T16:07:02.380Z","etag":null,"topics":["agent","beats","control","data","ebpf","elasticsearch","log","logstash","management","programmability","security"],"latest_commit_sha":null,"homepage":"https://astrid-lcp.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/astrid-project.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-12T11:13:14.000Z","updated_at":"2025-03-31T14:57:56.000Z","dependencies_parsed_at":"2023-11-16T14:40:28.389Z","dependency_job_id":"b5ec1d85-fd49-4f02-9f47-7348aa5c2b26","html_url":"https://github.com/astrid-project/lcp","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrid-project%2Flcp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrid-project%2Flcp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrid-project%2Flcp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/astrid-project%2Flcp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/astrid-project","download_url":"https://codeload.github.com/astrid-project/lcp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247463744,"owners_count":20942935,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["agent","beats","control","data","ebpf","elasticsearch","log","logstash","management","programmability","security"],"created_at":"2024-11-05T21:17:52.505Z","updated_at":"2025-04-06T09:31:42.616Z","avatar_url":"https://github.com/astrid-project.png","language":"Python","readme":"# Local Control Plane\n\n[![License](https://img.shields.io/github/license/astrid-project/lcp)](https://github.com/astrid-project/lcp/blob/master/LICENSE)\n[![Code size](https://img.shields.io/github/languages/code-size/astrid-project/lcp?color=red\u0026logo=github)](https://github.com/astrid-project/lcp)\n[![Repository Size](https://img.shields.io/github/repo-size/astrid-project/lcp?color=red\u0026logo=github)](https://github.com/astrid-project/lcp)\n[![Release](https://img.shields.io/github/v/tag/astrid-project/lcp?label=release\u0026logo=github)](https://github.com/astrid-project/lcp/releases)\n[![Docker image](https://img.shields.io/docker/image-size/astridproject/lcp?label=image\u0026logo=docker)](https://hub.docker.com/repository/docker/astridproject/lcp)\n[![Docs](https://readthedocs.org/projects/astrid-lcp/badge/?version=latest)](https://astrid-lcp.readthedocs.io)\n\nIn each local agent, the control plane is responsible for programmability, i.e., changing the behaviour of the data plane at run-time.\n\n---\n\n- [Local Control Plane](#local-control-plane)\n  - [Guide](#guide)\n  - [Installation](#installation)\n  - [Configuration](#configuration)\n  - [Usage](#usage)\n    - [Display help](#display-help)\n    - [Execute](#execute)\n  - [Extra](#extra)\n\n---\n\n## Guide\n\nSee the [Swagger Schema](swagger/schema.yaml) for more details about the REST endpoints and relative formats and requirements of request and response.\n\n## Installation\n\n1. Prerequisite\n\n   - python3\n   - pip3\n\n2. Clone the repository.\n\n   ```bash\n   git clone https://gitlab.com/astrid-repositories/lcp.git\n   cd lcp\n   ```\n\n3. Install the dependencies (optional).\n\n   ```bash\n   pip3 install -r requirements.txt\n   ```\n\n## Configuration\n\nThe configurations are stored in the [config.ini](config.ini) file.\n\nSection             | Setting       | Default value         | Note\n--------------------|---------------|-----------------------|---------------------------\nlocal-control-plane | host          | 0.0.0.0               | IP address to accept requests.\nlocal-control-plane | port          | 4000                  | TCP port to accept requests.\nlocal-control-plane | https         | false                 | Accept only HTTPS requests.\nauth                | enabled       | true                  | Enable JWT authentication.\nauth                | header-prefix | ASTRID                | Header prefix for JWT authentication.\nauth                | secret-key    | astrid-secret-key     | Secret key for JWT authentication.\nelastic-apm         | enabled       | false                 | Enable Elastic APM integration.\nelastic-apm         | server        | http://localhost:8200 | Elastic APM server.\npolycube            | host          | localhost             | IP address to contact the polycube installation.\npolycube            | port          | 9000                  | Port address to contact the polycube installation.\npolycube            | timeout       | 20s                   | Timeout for the connection to polycube.\nlog                 | config        | log.yaml              | Path of the log configuration file.\n\n## Usage\n\n### Display help\n\n```bash\npython3 main.py -h\n```\n\n### Execute\n\n```bash\npython3 main.py\n```\n\n## Extra\n\nSee the **Issues** for *features* in development.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrid-project%2Flcp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fastrid-project%2Flcp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fastrid-project%2Flcp/lists"}