-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
Description
Hi guys,
If you change the polling interval and restart kytos, the change is lost.
Steps to reproduce:
- Chante the polling interval on of_lldp:
$curl -X POST -d '{"polling_time": 1}' -H 'Content-type: application/json' http://localhost:8181/api/kytos/of_lldp/v1/polling_time
- Check if the polling interval was changed:
$ curl -s http://localhost:8181/api/kytos/of_lldp/v1/polling_time
{"polling_time":1}
- Restart kytos:
pkill kytosd
kytosd
- Check the polling interval again
$ curl -s http://localhost:8181/api/kytos/of_lldp/v1/polling_time
Expected behavior: the polling interval should be the same previously configured through the API.
Actual behavior: the polling interval falls back to the default value