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
Update the code so that the user can create his own script in Python, in order to add scripts that use some python logic (parsing of an output, conditions, etc...)
Requested from users:
From slack Is it possible to parse a show command and use the results in a for loop? (show cdp neighbors, identify cisco phones, get ports associated, turn into list and bounce ports)
From reddit:
Like this:
ver = netmiko.send_command("show version")
if ver >= 15.0:
continue
elif ver <= 15.0:
netmiko.send_command("request system software add validate newversionofjunos reboot")```
The text was updated successfully, but these errors were encountered:
Update the code so that the user can create his own script in Python, in order to add scripts that use some python logic (parsing of an output, conditions, etc...)
Requested from users:
From slack
Is it possible to parse a show command and use the results in a for loop? (show cdp neighbors, identify cisco phones, get ports associated, turn into list and bounce ports)
From reddit:
The text was updated successfully, but these errors were encountered: