Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ce_ospf to fix bugs #61684

Merged
merged 1 commit into from
Sep 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 2 additions & 4 deletions lib/ansible/modules/network/cloudengine/ce_ospf.py
Original file line number Diff line number Diff line change
Expand Up @@ -514,9 +514,6 @@ def is_network_exist(self):
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):
Expand Down Expand Up @@ -890,7 +887,8 @@ def get_end_state(self):
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"""
Expand Down