mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
committed by
Nathaniel Case
parent
4dc6faea59
commit
76e06fa7c2
@@ -214,7 +214,7 @@ class Vrf(object):
|
||||
|
||||
root = ElementTree.fromstring(xml_str)
|
||||
vpn_instances = root.findall(
|
||||
"data/l3vpn/l3vpncomm/l3vpnInstances/l3vpnInstance")
|
||||
"l3vpn/l3vpncomm/l3vpnInstances/l3vpnInstance")
|
||||
if vpn_instances:
|
||||
for vpn_instance in vpn_instances:
|
||||
if vpn_instance.find('vrfName').text == self.vrf:
|
||||
|
||||
Reference in New Issue
Block a user