summaryrefslogtreecommitdiff
path: root/python/vyos/xml_ref/__init__.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-07-04 19:09:04 -0500
committerJohn Estabrook <jestabro@vyos.io>2023-07-07 08:33:51 -0500
commit4c4a2ddd4cc0ac2dc6e3908c1480c017e9dab3e5 (patch)
treede0229cbb74f6d321f11f022fcfbaa546feddf79 /python/vyos/xml_ref/__init__.py
parent38a8bcfc407fefea357dfbb5f337562593a265b5 (diff)
downloadveeos-1x-4c4a2ddd4cc0ac2dc6e3908c1480c017e9dab3e5.tar.gz
veeos-1x-4c4a2ddd4cc0ac2dc6e3908c1480c017e9dab3e5.zip
config: T5330: retain information of internal _dict_merge
Diffstat (limited to 'python/vyos/xml_ref/__init__.py')
-rw-r--r--python/vyos/xml_ref/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/vyos/xml_ref/__init__.py b/python/vyos/xml_ref/__init__.py
index 62d3680a1..ad2130dca 100644
--- a/python/vyos/xml_ref/__init__.py
+++ b/python/vyos/xml_ref/__init__.py
@@ -48,6 +48,9 @@ def is_leaf(path: list) -> bool:
def cli_defined(path: list, node: str, non_local=False) -> bool:
return load_reference().cli_defined(path, node, non_local=non_local)
+def from_source(d: dict, path: list) -> bool:
+ return load_reference().from_source(d, path)
+
def component_version() -> dict:
return load_reference().component_version()