summaryrefslogtreecommitdiff
path: root/python/vyos/xml_ref/generate_cache.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-03-20 10:54:23 -0500
committerJohn Estabrook <jestabro@vyos.io>2024-03-21 15:26:30 -0500
commite915900bfec8d24276afb73599c94ab93f3c24ee (patch)
tree1a101f1c505fc54a6d690c076390b16786d007bd /python/vyos/xml_ref/generate_cache.py
parent27438a498113d5a35fe83dece5e12c0c0c1b2b17 (diff)
downloadvyos-1x-e915900bfec8d24276afb73599c94ab93f3c24ee.tar.gz
vyos-1x-e915900bfec8d24276afb73599c94ab93f3c24ee.zip
xml: T6146: add utils and helper to provide priority data
Diffstat (limited to 'python/vyos/xml_ref/generate_cache.py')
-rwxr-xr-xpython/vyos/xml_ref/generate_cache.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/vyos/xml_ref/generate_cache.py b/python/vyos/xml_ref/generate_cache.py
index 6a05d4608..d1ccb0f81 100755
--- a/python/vyos/xml_ref/generate_cache.py
+++ b/python/vyos/xml_ref/generate_cache.py
@@ -38,7 +38,8 @@ xml_tmp = join('/tmp', xml_cache_json)
pkg_cache = abspath(join(_here, 'pkg_cache'))
ref_cache = abspath(join(_here, 'cache.py'))
-node_data_fields = ("node_type", "multi", "valueless", "default_value")
+node_data_fields = ("node_type", "multi", "valueless", "default_value",
+ "owner", "priority")
def trim_node_data(cache: dict):
for k in list(cache):