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"):
|
for network in area.get("networks"):
|
||||||
if network["ipAddress"] == self.addr and network["wildcardMask"] == self.get_wildcard_mask():
|
if network["ipAddress"] == self.addr and network["wildcardMask"] == self.get_wildcard_mask():
|
||||||
return True
|
return True
|
||||||
else:
|
|
||||||
break
|
|
||||||
|
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def is_nexthop_exist(self):
|
def is_nexthop_exist(self):
|
||||||
|
@ -890,7 +887,8 @@ class OSPF(object):
|
||||||
self.end_state["max_load_balance"] = ospf_info.get("maxLoadBalancing")
|
self.end_state["max_load_balance"] = ospf_info.get("maxLoadBalancing")
|
||||||
|
|
||||||
if self.end_state == self.existing:
|
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):
|
def work(self):
|
||||||
"""worker"""
|
"""worker"""
|
||||||
|
|
Loading…
Reference in a new issue