Update ce_bfd_global to fix bugs (#60477)

* Update ce_bfd_global to fix bugs

(cherry picked from commit c742ce8ee3)

* Update ce_bfd_global modified information
pull/60753/head
yanzhangi 6 years ago committed by Toshio Kuratomi
parent d71d111c3a
commit bc0ea200d2

@ -0,0 +1,2 @@
bugfixes:
- ce_bfd_global - update to fix some bugs - When BFD is unavailable, tosExp and other parameters are sent down to report errors; this error is corrected and the query results are processed again. (https://github.com/ansible/ansible/pull/60412)

@ -284,7 +284,8 @@ class BfdGlobal(object):
glb = root.find("bfd/bfdSchGlobal")
if glb:
for attr in glb:
bfd_dict["global"][attr.tag] = attr.text
if attr.text is not None:
bfd_dict["global"][attr.tag] = attr.text
return bfd_dict

Loading…
Cancel
Save