Installing

Dflux can be installed as an on prem installation (bare metal) or as a docker container.

Dflux focuses on four pillars

  1. Developer friendly - Rapid development, Fast specification coverage

  2. Observability - Reduce troubleshooting time

  3. Performance and Efficiency - Provide good performance for both control plane and data plane

  4. Stability - Dflux functions should be highly available and stable as possible

Virtual machines / bare metal

Installing dfxe (emulated network function)

sudo apt install dfxe.deb

Installing dfxp (performance function)

sudo apt install dfxe.deb

Docker

Installing dfxe docker image

docker run -d --net=host \
    -v /var/run/docker.sock:/var/run/docker.sock \
    dflux/dfxe dfxe

Installing dfxp docker image

docker run -d --net=host \
    --privileged \
    -v /var/run/docker.sock:/var/run/docker.sock \
    dflux/dfxp dfxp

Configure dfxe

The minimal required configuration is:

  • Secret

  1. Copy the configuration file (named config.yaml) to the /etc/dflux/ directory. The final path should be /etc/dflux/config.yaml:

sudo cp dfxe.config.yaml /etc/dflux/dfxe.config.yaml
  1. Restart the dfxe service:

sudo systemctl restart dfxe

Configure dfxp

The minimal required configuration is:

  • Secret

  1. Copy the configuration file (named config.yaml) to the /etc/dflux/ directory. The final path should be /etc/dflux/config.yaml:

sudo cp dfxp.config.yaml /etc/dflux/dfxp.config.yaml
  1. Restart the dfxe service:

sudo systemctl restart dfxp

Additional configuration

  • insert table of all dfxe arguments

Configure dfxp

Last updated

Was this helpful?