cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2677
Views
10
Helpful
3
Replies

Python pyats [yes/no]: prompt

dkaz
Level 1
Level 1

How can I respond with yes to a [yes/no]: prompt within a pyats python script?

1 Accepted Solution

Accepted Solutions

I was able to figure it out with a Dialog statement pattern and reply=dialog on the device.configure line.

View solution in original post

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

how about confirmation

 confirmation_prompt=True

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

I was able to figure it out with a Dialog statement pattern and reply=dialog on the device.configure line.

nice good to know all works

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help