-
Notifications
You must be signed in to change notification settings - Fork 21
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
switch-configuration flashing works more consistently on linux #795
Comments
note, the script requires that it be run as root to be able to ping, but then needs access to the user ssh keys to authenticate. I worked around that by copying my personal key to the root .ssh directory Also, it requires a hosts entry for every switch mapping to 192.168.255.76 after I did that, I was able to run it and it appears to identify and flash the switches. But it generates some expect errors, see attached switchconfig.log file |
running as dlang no sudo icmp ping requires root privilege at scripts/Loader.pm line 129. wihtout the /etc/hosts change |
Lets keep this open until |
Description
Relates to: #801
Currently being worked on in
od_pre22x_01 branch
Problem include:
-t
being able to be used for IP/Name and not just serial. When used for serial, it does need a switch_spec in some use casesFixes include:
-l
and-t
incompatibleSuggested argument combos include:
switch_config_loader -c miniconfig -p -t /dev/<tty_device> -u <user>
for serialswitch_config_loader -l -u <user>
for IPAcceptance Criteria
switch_config_loader
works in serial and IP scenarios on linuxThe text was updated successfully, but these errors were encountered: