summaryrefslogtreecommitdiff
path: root/src/op_mode/generate_tech-support_archive.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2025-06-13 07:31:40 -0500
committerJohn Estabrook <jestabro@vyos.io>2025-06-20 09:58:46 -0500
commite5f3f1b2bb6cadaa7586beff100f83e4ff9159db (patch)
treebf7fc2872f01cec31fccf1e0f3f52cb1dd3e31c3 /src/op_mode/generate_tech-support_archive.py
parentbdb5846987fa21f410204f0aa15670f37339da8c (diff)
downloadvyos-1x-e5f3f1b2bb6cadaa7586beff100f83e4ff9159db.tar.gz
vyos-1x-e5f3f1b2bb6cadaa7586beff100f83e4ff9159db.zip
T7561: simplify op-mode-definitions XML cache and add interface methods
The original implementation of the op-mode XML cache generation resulted in a structure that was difficult to use, for example, in documentation generation. The source of complication is that, unlike the XML of interface-definitions, path names are not unique: the same path may occur as both a regular node and as a tag node. Here we simplify the underlying structure by enriching path names with type information, thus disambiguating paths. An interface to the cache is provided by explicit generator and lookup functions.
Diffstat (limited to 'src/op_mode/generate_tech-support_archive.py')
0 files changed, 0 insertions, 0 deletions