summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-techsupport_report.xml.in
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2024-07-01 12:56:25 +0100
committerDaniil Baturin <daniil@baturin.org>2024-07-03 13:00:28 +0100
commit7958c9794813f399a2e113896410c0c03d29663d (patch)
tree6375caded54c44aa0ddbf0ce7927dfc3faef2ec0 /op-mode-definitions/show-techsupport_report.xml.in
parente270712f7ebd76e4e1be598766d999cef4f05e26 (diff)
downloadvyos-1x-7958c9794813f399a2e113896410c0c03d29663d.tar.gz
vyos-1x-7958c9794813f399a2e113896410c0c03d29663d.zip
op-mode: T6498: add machine-readable tech support report script
Diffstat (limited to 'op-mode-definitions/show-techsupport_report.xml.in')
-rw-r--r--op-mode-definitions/show-techsupport_report.xml.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/op-mode-definitions/show-techsupport_report.xml.in b/op-mode-definitions/show-techsupport_report.xml.in
index ef051e940..4fd6e5d1e 100644
--- a/op-mode-definitions/show-techsupport_report.xml.in
+++ b/op-mode-definitions/show-techsupport_report.xml.in
@@ -12,6 +12,14 @@
<help>Show consolidated tech-support report (contains private information)</help>
</properties>
<command>${vyos_op_scripts_dir}/show_techsupport_report.py</command>
+ <children>
+ <node name="machine-readable">
+ <properties>
+ <help>Show consolidated tech-support report in JSON</help>
+ </properties>
+ <command>sudo ${vyos_op_scripts_dir}/tech_support.py show --raw</command>
+ </node>
+ </children>
</node>
</children>
</node>