mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-10 03:01:29 -07:00
update ospf modules to fix bugs as software version changes (#56974)
This commit is contained in:
parent
0137c4343b
commit
b7f4e2a190
2 changed files with 14 additions and 13 deletions
|
@ -1047,7 +1047,7 @@ class OspfVrf(object):
|
|||
|
||||
# get the vpn address family and RD text
|
||||
ospf_sites = root.findall(
|
||||
"data/ospfv2/ospfv2comm/ospfSites/ospfSite")
|
||||
"ospfv2/ospfv2comm/ospfSites/ospfSite")
|
||||
if ospf_sites:
|
||||
for ospf_site in ospf_sites:
|
||||
ospf_ele_info = dict()
|
||||
|
@ -1063,7 +1063,8 @@ class OspfVrf(object):
|
|||
"spfScheduleIntervalType"]:
|
||||
ospf_ele_info[
|
||||
ospf_site_ele.tag] = ospf_site_ele.text
|
||||
self.ospf_info["ospfsite"].append(ospf_ele_info)
|
||||
if ospf_ele_info["processId"] == self.ospf:
|
||||
self.ospf_info["ospfsite"].append(ospf_ele_info)
|
||||
|
||||
def get_proposed(self):
|
||||
"""get proposed info"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue