nxos_vpc doc update to handle confirmation prompt (#27796)

Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
This commit is contained in:
Trishna Guha 2017-08-05 11:05:38 +05:30 committed by GitHub
parent c59e32469f
commit edb5760723

View file

@ -95,8 +95,8 @@ options:
''' '''
EXAMPLES = ''' EXAMPLES = '''
# configure a simple asn - name: configure a simple asn
- nxos_vpc: nxos_vpc:
domain: 100 domain: 100
role_priority: 1000 role_priority: 1000
system_priority: 2000 system_priority: 2000
@ -104,6 +104,24 @@ EXAMPLES = '''
pkl_src: 10.1.100.20 pkl_src: 10.1.100.20
peer_gw: true peer_gw: true
auto_recovery: 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 = ''' RETURN = '''