mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
parent
4dc6faea59
commit
76e06fa7c2
3 changed files with 5 additions and 6 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue