Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing the polling interval is not persistent #20

Open
ajoaoff opened this issue Jun 2, 2021 · 0 comments
Open

Changing the polling interval is not persistent #20

ajoaoff opened this issue Jun 2, 2021 · 0 comments
Labels
wontfix This will not be worked on

Comments

@ajoaoff
Copy link

ajoaoff commented Jun 2, 2021

Original issue opened by @italovalcy at kytos#62.

Hi guys,

If you change the polling interval and restart kytos, the change is lost.

Steps to reproduce:

  1. 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
  1. Check if the polling interval was changed:
$ curl -s  http://localhost:8181/api/kytos/of_lldp/v1/polling_time
{"polling_time":1}
  1. Restart kytos:
pkill kytosd
kytosd
  1. 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

@ajoaoff ajoaoff added the wontfix This will not be worked on label Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant