This is standalone tool that helps automatically register Magma gateways. It works in Kubernetes cluster with virtlet only. For example if some pod with gateway was recreated by Kubernetes this tool will re-register the new gateway automatically in Magma orc8r.
git clone [email protected]:vladiskuz/magma-manipulator.git
cd magma-manipulator
virtualenv -p python3 .venv
source .venv/bin/activate
python3 setup.py develop
- change config.yml for your purposes
- change kconfig regarding your k8s cluster
- run the tool magma-manipulator
- delete some pod and wait until the pod will recreate and this tool will re-register them in Magma orc8r