louisroyer/dev-nextmn-cp-lite

By louisroyer

Updated 1 day ago

NextMN CP-Lite

Image
Networking

187

WARNING: The following image is NOT an official build of NextMN, in the future it may include beta-functionalities.

By default, configuration file from templating is used if no --config or -c is passed as argument. To start without argument, use:

command: [" "]

License

Please note that even if this software is not yet properly packaged using .deb, the generated binary file /usr/local/bin/cp-lite is provided to you under MIT License. A copy of the source code is available at in the repository nextmn/cp-lite.

Configuration

Environment variable used to select templating system:

environment:
  ROUTING_SCRIPT: "docker-setup"
  TEMPLATE_SCRIPT: "template-script.sh"
  TEMPLATE_SCRIPT_ARGS: ""
  CONFIG_FILE: "/etc/nextmn/cp-lite.yaml"
  CONFIG_TEMPLATE: "/usr/local/share/nextmn/template-cp-lite.yaml"

Environment variables for templating:

environment:
  N4: "203.0.113.3"
  HTTP_ADDRESS: "192.0.2.5"
  HTTP_PORT: "8080"
  SLICES: |-
    nextmn-lite:
      pool: "10.0.111.0/24"
      upfs:
        - node-id: "203.0.113.2"
          interfaces:
            - type: "N3"
              addr: "10.0.200.3"
  AREAS: |-
    gnbs:
      - "http://192.0.2.4:8080"
    paths:
      nextmn-lite:
        - node-id: "203.0.113.2"
          interface-addr: "10.0.200.3"
  LOG_LEVEL: "info"

Container deployment

  • The container requires the NET_ADMIN capability (if you want to configure the container using docker-setup).

This can be done in docker-compose.yaml by defining the following for the service:

cap_add:
    - NET_ADMIN

This image is automatically built weekly based on latest version of louisroyer/base-irit.

Dockerfile is available on Github.

Docker Pull Command

docker pull louisroyer/dev-nextmn-cp-lite