summaryrefslogtreecommitdiff
path: root/python/vyos/xml/__init__.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-08-13 12:01:04 -0500
committerJohn Estabrook <jestabro@vyos.io>2021-08-19 08:12:59 -0500
commit40f5359d2d34e322272b79f3905d26954311daa6 (patch)
tree6a1e224258f903757cbbdd9a21453c2d48b5419f /python/vyos/xml/__init__.py
parent8114975668ac5d0f59bbc6abdc0df91e4c0d9995 (diff)
downloadvyos-1x-40f5359d2d34e322272b79f3905d26954311daa6.tar.gz
vyos-1x-40f5359d2d34e322272b79f3905d26954311daa6.zip
xml: T3474: add syntaxVersion processing to python xml lib
Diffstat (limited to 'python/vyos/xml/__init__.py')
-rw-r--r--python/vyos/xml/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/vyos/xml/__init__.py b/python/vyos/xml/__init__.py
index 0ef0c85ce..e0eacb2d1 100644
--- a/python/vyos/xml/__init__.py
+++ b/python/vyos/xml/__init__.py
@@ -46,6 +46,8 @@ def is_tag(lpath):
def is_leaf(lpath, flat=True):
return load_configuration().is_leaf(lpath, flat)
+def component_versions():
+ return load_configuration().component_versions()
def defaults(lpath, flat=False):
return load_configuration().defaults(lpath, flat)