update to fix a bug (#58228)
This commit is contained in:
parent
b7630ccb36
commit
23139cdbb9
1 changed files with 6 additions and 0 deletions
|
@ -270,6 +270,10 @@ class EvpnBgpRr(object):
|
|||
|
||||
flags.append(exp)
|
||||
config = get_config(self.module, flags)
|
||||
cmd = 'display current-configuration ' + exp
|
||||
config = config.strip() if config else ""
|
||||
if cmd == config:
|
||||
return ''
|
||||
|
||||
return config
|
||||
|
||||
|
@ -354,6 +358,8 @@ class EvpnBgpRr(object):
|
|||
'bgp_evpn_enable'],
|
||||
reflect_client=self.cur_config['reflect_client'],
|
||||
policy_vpn_target=self.cur_config['policy_vpn_target'])
|
||||
if self.end_state == self.existing:
|
||||
self.changed = False
|
||||
|
||||
def show_result(self):
|
||||
"""Show result"""
|
||||
|
|
Loading…
Reference in a new issue