Update ce_ospf to fix bugs (#61684)

This commit is contained in:
yanzhangi 2019-09-18 09:56:44 +08:00 committed by ansibot
parent e1ca38e53a
commit 9d9863fec1

View file

@ -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):