Skip to content
/ lcp Public
forked from guard-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.

License

Notifications You must be signed in to change notification settings

githubflux/lcp

 
 

Repository files navigation

Local Control Plane

License Code size Repository Size Release Docker image Docs

In each local agent, the control plane is responsible for programmability, i.e., changing the behaviour of the data plane at run-time.



Guide

See the Swagger Schema for more details about the REST endpoints and relative formats and requirements of request and response.

Installation

  1. Prerequisite

    • python3
    • pip3
  2. Clone the repository.

    git clone https://gitlab.com/guard-repositories/lcp.git
    cd lcp
  3. Install the dependencies (optional).

    pip3 install -r requirements.txt

Configuration

The configurations are stored in the 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.
auth max-ttl 10min Maximum TTL of the authorization with the CB-Manager.
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.
dev username lcp Username for HTTP authentication (for developer use).
dev password Password for HTTP authentication (for developer use).

Usage

Display help

python3 main.py -h

Execute

python3 main.py

Extra

See the Issues for features in development.

About

In each local agent, the control plane is responsible for programmability, i.e., changing the behaviour of the data plane at run-time.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%