summaryrefslogtreecommitdiff
path: root/python/vyos/xml_ref
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2024-03-20 10:54:23 -0500
committerJohn Estabrook <jestabro@vyos.io>2024-05-03 13:27:20 -0500
commitb83b9c4492f8af8228363d2dad2e748d621e4da7 (patch)
treea95c93848552bbbc85e4f11733557809ac12933f /python/vyos/xml_ref
parent1e36c2da57c241095e077686476af93e61315168 (diff)
downloadvyos-1x-b83b9c4492f8af8228363d2dad2e748d621e4da7.tar.gz
vyos-1x-b83b9c4492f8af8228363d2dad2e748d621e4da7.zip
xml: T6146: add utils and helper to provide priority data
(cherry picked from commit e915900bfec8d24276afb73599c94ab93f3c24ee)
Diffstat (limited to 'python/vyos/xml_ref')
-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 892c9defb..5f3f84dee 100755
--- a/python/vyos/xml_ref/generate_cache.py
+++ b/python/vyos/xml_ref/generate_cache.py
@@ -33,7 +33,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):