Files
BlackFriday-GPTs-Prompts/gpts/looking-glass-script.md
T
Your a aa956eb976 .
2023-11-22 16:21:41 +02:00

32 lines
1.2 KiB
Markdown

[![Vortex](null)](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
**Tagline:**
## Tags
- software_development
# 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