socallinuxexpo / scale-network

SCaLE's on-site expo network configurations, wifi, tooling, and scripts
https://www.socallinuxexpo.org/
BSD 3-Clause "New" or "Revised" License
40 stars 16 forks source link

[READY] Od pre21x 01 -- Improvements to switch management system #626

Closed owendelong closed 7 months ago

owendelong commented 9 months ago

Description of PR

Major improvements and rewrites of the scripts to push configurations on to switches

Previous Behavior

Kind of threw the config at the switch and hoped it would stick.

New Behavior

Uses Expect and much better error checking. A single consolidated newly created script replaces all of the previous scripts for installing configurations on switches using different methods.

New script supports bulk/local, update in situ, and serial. Same script can install miniconfig over serial and then bulk load with different parameters.

Tests

Code is still under development. Once it is complete, will make sure it lints and runs successfully. Hoping to be able to test at work party.

sarcasticadmin commented 9 months ago

I just noticed this but I think we need to rebase this branch. It looks a little funky with the existing merge commit in this branch: ss-202310111696997817

Happy to help fix it, not rush just would like to do it prior to merging.