nxos_vpc doc update to handle confirmation prompt (#27796)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
parent
c59e32469f
commit
edb5760723
1 changed files with 20 additions and 2 deletions
|
@ -95,8 +95,8 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
# configure a simple asn
|
||||
- nxos_vpc:
|
||||
- name: configure a simple asn
|
||||
nxos_vpc:
|
||||
domain: 100
|
||||
role_priority: 1000
|
||||
system_priority: 2000
|
||||
|
@ -104,6 +104,24 @@ EXAMPLES = '''
|
|||
pkl_src: 10.1.100.20
|
||||
peer_gw: true
|
||||
auto_recovery: true
|
||||
|
||||
# peer-gateway might ask for confirmation to apply changes
|
||||
# Device should be configured with terminal dont-ask that makes
|
||||
# the device take default answer on confirmation prompt
|
||||
|
||||
- name: Make device take default answer
|
||||
nxos_command:
|
||||
commands: terminal dont-ask
|
||||
|
||||
- name: configure
|
||||
nxos_vpc:
|
||||
domain: 100
|
||||
role_priority: 32667
|
||||
system_priority: 2000
|
||||
peer_gw: true
|
||||
pkl_src: 10.1.100.2
|
||||
pkl_dest: 192.168.100.4
|
||||
auto_recovery: true
|
||||
'''
|
||||
|
||||
RETURN = '''
|
||||
|
|
Loading…
Reference in a new issue