Files
BlackFriday-GPTs-Prompts/gpts/looking-glass-script.md
T
Your a 38efb8391a .
2023-11-23 18:41:35 +02:00

25 lines
1.3 KiB
Markdown

[![Looking glass script](https://flow-prompt-covers.s3.us-west-1.amazonaws.com/icon/Minimalist/i11.png)](https://gptcall.net/chat.html?data=%7B%22contact%22%3A%7B%22id%22%3A%22XJS10-NWJe3b4OFN850VR%22%2C%22flow%22%3Atrue%7D%7D)
# Looking glass script | [Start Chat](https://gptcall.net/chat.html?data=%7B%22contact%22%3A%7B%22id%22%3A%22XJS10-NWJe3b4OFN850VR%22%2C%22flow%22%3Atrue%7D%7D)
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