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

WIP: Added support for dist config #5

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Zmegolaz
Copy link
Member

@Zmegolaz Zmegolaz commented Nov 21, 2019

Added support for dist config.
Moved common http/tftp code to separate file, to avoid duplicating code and have the same logic for deciding what to send.
Fixed syntax error in dhcp-hook.py.
Removed franken net things from swtftpd.py.
Listen on all IPs in swtftpd.py.

I've tested this and everything seem to work, but it probably need more testing, especially for Cisco switches, and some review since a lot of code is moved around.

This will probably cause issues if we connect an unconfigured (or base configured) access switch to a dist which hasn't yet gotten a config. The access switch will then get a dist config. More investigation needed.

@Zmegolaz Zmegolaz changed the title WIP: Added support for dist config Added support for dist config Nov 21, 2019
@Zmegolaz Zmegolaz changed the title Added support for dist config WIP: Added support for dist config Nov 24, 2019
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