From 40f5359d2d34e322272b79f3905d26954311daa6 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Fri, 13 Aug 2021 12:01:04 -0500 Subject: xml: T3474: add syntaxVersion processing to python xml lib --- python/vyos/xml/__init__.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python/vyos/xml/__init__.py') 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) -- cgit v1.2.3