Installing
Dflux can be installed as an on prem installation (bare metal) or as a docker container.
Dflux focuses on four pillars
Developer friendly - Rapid development, Fast specification coverage
Observability - Reduce troubleshooting time
Performance and Efficiency - Provide good performance for both control plane and data plane
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
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
Restart the dfxe service:
sudo systemctl restart dfxe
Configure dfxp
The minimal required configuration is:
Secret
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
Restart the dfxe service:
sudo systemctl restart dfxp
Additional configuration
insert table of all dfxe arguments
Configure dfxp
Last updated
Was this helpful?