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

Look up the KeepAliveTime and HoldTime keys in the VRF tree #1290

Merged
merged 1 commit into from
Sep 10, 2020

Conversation

mirceaulinic
Copy link
Member

Due to a copy-paste probably, the code is currently looking under the
instance_active_list, which as the name suggests is a list of XML
trees, therefore any xpath query fails, with the following message.
Thanks to the newly added logging on the find_txt helper, the
following appeared in the logs:

'list' object has no attribute 'xpath'
'list' object has no attribute 'xpath'
'list' object has no attribute 'xpath'
'list' object has no attribute 'xpath'
'list' object has no attribute 'xpath'
'list' object has no attribute 'xpath'

This corrects this, by referencing the actual XML tree for the VRF
instead of the list of VRFs.

Due to a copy-paste probably, the code is currently looking under the
``instance_active_list``, which as the name suggests is a list of XML
trees, therefore any xpath query fails, with the following message.
Thanks to the newly added logging on the ``find_txt`` helper, the
following appeared in the logs:

```
'list' object has no attribute 'xpath'
'list' object has no attribute 'xpath'
'list' object has no attribute 'xpath'
'list' object has no attribute 'xpath'
'list' object has no attribute 'xpath'
'list' object has no attribute 'xpath'
```

This corrects this, by referencing the actual XML tree for the VRF
instead of the list of VRFs.
@mirceaulinic mirceaulinic added this to the 3.2.1 milestone Sep 10, 2020
@coveralls
Copy link

Coverage Status

Coverage remained the same at 0.0% when pulling 7f7427a on xr-xpath-list-err into 23b9356 on develop.

@mirceaulinic mirceaulinic merged commit 49554bb into develop Sep 10, 2020
@mirceaulinic mirceaulinic deleted the xr-xpath-list-err branch September 10, 2020 15:58
@mirceaulinic mirceaulinic modified the milestones: 3.2.1, 3.3.0 May 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants