You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 switchconfig.log
icmp ping requires root privilege at scripts/Loader.pm line 129.
wihtout the /etc/hosts change
detect_switch returned Expo-Catwalk
Processing Expo-Catwalk as 192.168.255.76 with
Calling (Loader) override_switch for Expo-Catwalk at 192.168.255.76 () with
Looking up switch Expo-Catwalk
get_switchtype called for Expo-Catwalk.
Returning: (Expo-Catwalk, 6, 103, 2001:470:f026:103::200:6, Catwalk, W, 1, Loud, ex4200-48p, 00:26:88:7d:d3:7f)
Got Entry: Expo-Catwalk, 6, 103, 2001:470:f026:103::200:6, Catwalk for Expo-Catwalk
Sending configuration file (output/Expo-Catwalk.conf) to Expo-Catwalk
Initializing SFTP connection to expo-catwalk.scale.lan with user dlang
ssh: Could not resolve hostname expo-catwalk.scale.lan: Name or service not known
SFTP Put output/Expo-Catwalk.conf
Failed to send config to expo-catwalk.scale.lan (Expo-Catwalk)
at ./scripts/switch_config_loader line 268.
Description
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: