- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2021 08:51 PM
How can I respond with yes to a [yes/no]: prompt within a pyats python script?
Solved! Go to Solution.
- Labels:
-
pyATS
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2021 08:09 AM
I was able to figure it out with a Dialog statement pattern and reply=dialog on the device.configure line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2021 02:34 AM
how about confirmation
confirmation_prompt=True
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2021 08:09 AM
I was able to figure it out with a Dialog statement pattern and reply=dialog on the device.configure line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2021 09:05 AM
nice good to know all works
