[Backport/2.9/61684]Update ce_ospf to fix bugs (#62597)

* Update ce_ospf to fix bugs

(cherry picked from commit 1583c5ead2)

* Update ce_ospf modified information
pull/62607/head
yanzhangi 5 years ago committed by Toshio Kuratomi
parent 3d5367243b
commit 227efbc7ae

@ -0,0 +1,2 @@
bugfixes:
- ce_ospf - update to fix some bugs - Contrast before and after adding configuration. (https://github.com/ansible/ansible/pull/61684)

@ -514,9 +514,6 @@ class OSPF(object):
for network in area.get("networks"):
if network["ipAddress"] == self.addr and network["wildcardMask"] == self.get_wildcard_mask():
return True
else:
break
return False
def is_nexthop_exist(self):
@ -890,6 +887,7 @@ class OSPF(object):
self.end_state["max_load_balance"] = ospf_info.get("maxLoadBalancing")
if self.end_state == self.existing:
if not self.auth_text_simple and not self.auth_text_md5:
self.changed = False
def work(self):

Loading…
Cancel
Save