diff options
| author | Daniil Baturin <daniil@vyos.io> | 2025-06-26 15:29:43 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-26 15:29:43 +0100 |
| commit | 062f7f4e7cd7d71cba56d168f9f99344e9044b59 (patch) | |
| tree | f17a96f9726cdffcb2ef2fab10309f4b313ed8cc /op-mode-definitions/monitor-command.xml.in | |
| parent | 5c2f70ffd82047740a91be949af5098a6ee39c2c (diff) | |
| parent | edc64e7fb63757a3779df12945ecefca9c462952 (diff) | |
| download | vyos-1x-062f7f4e7cd7d71cba56d168f9f99344e9044b59.tar.gz vyos-1x-062f7f4e7cd7d71cba56d168f9f99344e9044b59.zip | |
Merge pull request #4565 from dmbaturin/T7560-op-virtual-tag-nodes
op-mode: T7560: add support for virtual tag nodes
Diffstat (limited to 'op-mode-definitions/monitor-command.xml.in')
| -rw-r--r-- | op-mode-definitions/monitor-command.xml.in | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/op-mode-definitions/monitor-command.xml.in b/op-mode-definitions/monitor-command.xml.in index 31c68f029..ba242386e 100644 --- a/op-mode-definitions/monitor-command.xml.in +++ b/op-mode-definitions/monitor-command.xml.in @@ -2,26 +2,31 @@ <interfaceDefinition> <node name="monitor"> <children> - <tagNode name="command"> + <node name="command"> <properties> - <help>Monitor operational mode command (refreshes every 2 seconds)</help> + <help>Monitor operational mode command output</help> </properties> - <command>watch --no-title ${vyos_op_scripts_dir}/vyos-op-cmd-wrapper.sh ${@:3}</command> - </tagNode> - <node name="command"> <children> + <virtualTagNode> + <properties> + <help>Monitor operational mode command (refreshes every 2 seconds)</help> + </properties> + <command>watch --no-title ${vyos_op_scripts_dir}/vyos-op-cmd-wrapper.sh ${@:3}</command> + </virtualTagNode> <node name="diff"> <properties> <help>Show differences during each run</help> </properties> + <children> + <virtualTagNode> + <properties> + <help>Monitor operational mode command (refreshes every 2 seconds)</help> + </properties> + <command>watch --no-title --differences ${vyos_op_scripts_dir}/vyos-op-cmd-wrapper.sh ${@:4}</command> + </virtualTagNode> + </children> </node> - <tagNode name="diff"> - <properties> - <help>Monitor operational mode command (refreshes every 2 seconds)</help> - </properties> - <command>watch --no-title --differences ${vyos_op_scripts_dir}/vyos-op-cmd-wrapper.sh ${@:4}</command> - </tagNode> - </children> + </children> </node> </children> </node> |
