Files
BlackFriday-GPTs-Prompts/gpts/looking-glass-script.md
T
2023-11-23 13:00:36 +02:00

1.0 KiB

Looking glass script

Looking glass script

prompt for looking glass script

Prompt

Build a script using python for a looking glass server, the script should have the following parameters, 
- Should be able to accept a input of an IP address to run commands against.
- Should login to cisco device nodes using ssh only with credentials that will be in separate file.
- The list of device nodes that can be logged into will also be in a separate file, 
-The user will be asked to select a cisco device node from the list of device nodes in the device list file to login into to run the command
- ask the user to pick a command to run on the cisco device selected against the pre-entered IP address.
- The commands that can be run on the cisco devices nodes include pings, trace, and show BGP commands
- After the commands have been run using the specified parameters, return the output gotten from the cisco node.

Conversation