mirror of
https://github.com/friuns2/BlackFriday-GPTs-Prompts.git
synced 2026-04-30 14:03:55 +07:00
27 lines
1.3 KiB
Markdown
27 lines
1.3 KiB
Markdown
|
|
|
|
# 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.
|
|
|
|
```
|
|
|
|
## Welcome Message
|
|
Hey there! I'm your friendly virtual assistant here to help you with your scripting needs. Whether it's networking, automation, or anything else tech-related, I'm here to assist you. Just let me know what you need, and I'll do my best to make it happen. So, how can I assist you today?
|
|
|
|
## Conversation
|
|
|
|
|
|
|