summaryrefslogtreecommitdiff
path: root/python/vyos/xml_ref/__init__.py
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2023-07-12 20:09:26 +0100
committerGitHub <noreply@github.com>2023-07-12 20:09:26 +0100
commit03785776bad26d2c220407db18ceda70fd8448a2 (patch)
tree9998aa1d5665e1b0e8fbbf2f72dafbca96bed545 /python/vyos/xml_ref/__init__.py
parent64360db360a36f45083a1ff6a5d5245e192ab165 (diff)
parent4c4a2ddd4cc0ac2dc6e3908c1480c017e9dab3e5 (diff)
downloadvyos-1x-03785776bad26d2c220407db18ceda70fd8448a2.tar.gz
vyos-1x-03785776bad26d2c220407db18ceda70fd8448a2.zip
Merge pull request #2079 from jestabro/from-defaults
config: T5330: add boolean check for additions by default in config dict
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()