1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix #26024: suppress_fib_pending imdepotence for nxos_bgp (#27862)

This commit is contained in:
rahushen 2017-08-07 21:08:46 -04:00 committed by Peter Sprygada
parent e4a997c97e
commit 441376c754

View file

@ -460,7 +460,7 @@ def get_value(arg, config):
def get_existing(module, args, warnings):
existing = {}
netcfg = CustomNetworkConfig(indent=2, contents=get_config(module))
netcfg = CustomNetworkConfig(indent=2, contents=get_config(module, flags=['bgp all']))
asn_re = re.compile(r'.*router\sbgp\s(?P<existing_asn>\d+).*', re.S)
asn_match = asn_re.match(str(netcfg))