How to use the Kytos-ng Telemetry Napp
- Start your Kytos-ng environment
- Clone the Kytos-ng Telemetry Napp
git clone https://github.com/jab1982/telemetry.git
- Install the Kytos-ng Telemetry Napp
cd telemetry python3 setup.py develop
- Configure the proxy ports related to the UNIs you aim to enable telemetry. For instance, for UNI 1 on switch 1, the proxy port is the interface 2.
curl -s -X POST -H 'Content-type: application/json' http://0.0.0.0:8181/api/kytos/topology/v3/interfaces/00:00:00:00:00:00:00:01:1/metadata -d '{"proxy_port": 2}'
- To enable telemetry for all EVCs:
curl -s -X POST -H 'Content-type: application/json' http://0.0.0.0:8181/api/amlight/telemetry/v1/evc/enable -d '{"evc_ids": []}'
- To list all EVCs with telemetry enabled:
curl http://67.17.206.201:8181/api/amlight/telemetry/v1/evc/
- To disable telemetry for all EVCs:
curl -s -X POST -H 'Content-type: application/json' http://0.0.0.0:8181/api/amlight/telemetry/v1/evc/disable -d '{"evc_ids": []}'