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

edgemanage sketch [do not merge] #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

edgemanage sketch [do not merge] #2

wants to merge 2 commits into from

Conversation

joelanders
Copy link
Contributor

This is just a stub to show how to call into edgemanage from deflect-next as a library rather than as an external CLI program. It would be nicer if edgemanage didn't do any of its own read/writing to files and just returned the values we're interested in here (the list of healthiest edges so we can write them ourselves with the config_generation/bind.py code). But the edgemanage code doesn't look great, so it would probably be better to just copy/paste the useful part (the algorithm that combines past + current measurements in a way that reduces flapping) into deflect-next.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant