Update ce_ospf to fix bugs (#61684)
This commit is contained in:
parent
e1ca38e53a
commit
9d9863fec1
1 changed files with 2 additions and 4 deletions
|
@ -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,7 +887,8 @@ class OSPF(object):
|
|||
self.end_state["max_load_balance"] = ospf_info.get("maxLoadBalancing")
|
||||
|
||||
if self.end_state == self.existing:
|
||||
self.changed = False
|
||||
if not self.auth_text_simple and not self.auth_text_md5:
|
||||
self.changed = False
|
||||
|
||||
def work(self):
|
||||
"""worker"""
|
||||
|
|
Loading…
Reference in a new issue