update ce_ntp.py and remove the root tag name to find all nodes (#56976)

* add a maintainer

* update ce_ntp.py and remove the root tag name to find all node

* update ce_ntp.py and remove the root tag name to find all node
pull/57139/head
xuxiaowei0512 5 years ago committed by Nathaniel Case
parent 9e1f184b2d
commit 0137c4343b

@ -442,7 +442,7 @@ class Ntp(object):
# get all ntp config info
root = ElementTree.fromstring(xml_str)
ntpsite = root.findall("data/ntp/ntpUCastCfgs/ntpUCastCfg")
ntpsite = root.findall("ntp/ntpUCastCfgs/ntpUCastCfg")
for nexthop in ntpsite:
ntp_dict = dict()
for ele in nexthop:

Loading…
Cancel
Save