NApp to deploy In-band Network Telemetry for EVCs
To install this NApp, first, make sure to have the same venv activated as you have kytos
installed on:
$ git clone https://github.com/kytos-ng/telemetry_int
$ cd telemetry_int
$ python setup.py develop
kytos/of_multi_table.enable_table
kytos/mef_eline.deleted
kytos/flow_manager.flow.error
kytos/mef_eline.undeployed
kytos/mef_eline.(redeployed_link_down|redeployed_link_up)
kytos/mef_eline.error_redeploy_link_down
kytos/mef_eline.uni_active_updated
kytos/mef_eline.deployed
A response from the kytos/of_multi_table.enable_table
event to confirm table settings.
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/kytos/telemetry_int/v1/evc/enable -d '{"evc_ids": []}'
To list all EVCs with telemetry enabled:
curl http://127.0.0.1:8181/api/kytos/telemetry_int/v1/evc/
To disable telemetry for all EVCs:
curl -s -X POST -H 'Content-type: application/json' http://0.0.0.0:8181/api/kytos/telemetry_int/v1/evc/disable -d '{"evc_ids": []}'