summaryrefslogtreecommitdiff
path: root/op-mode-definitions/wireguard.xml
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2020-07-18 07:45:03 +0300
committerDaniil Baturin <daniil@vyos.io>2020-07-18 07:45:03 +0300
commitf40ecce733c72b23aa88086e6eb731021d4ea035 (patch)
tree5bb136a4e2b0ae7202caf936fbc972567c616a50 /op-mode-definitions/wireguard.xml
parent3b81646aaba2efa91ffd53d2922e43364616e715 (diff)
downloadvyos-1x-f40ecce733c72b23aa88086e6eb731021d4ea035.tar.gz
vyos-1x-f40ecce733c72b23aa88086e6eb731021d4ea035.zip
T2710: make most "run show interfaces $type" commands work again.
Diffstat (limited to 'op-mode-definitions/wireguard.xml')
-rw-r--r--op-mode-definitions/wireguard.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/op-mode-definitions/wireguard.xml b/op-mode-definitions/wireguard.xml
index 1795fb820..a7bfa36a3 100644
--- a/op-mode-definitions/wireguard.xml
+++ b/op-mode-definitions/wireguard.xml
@@ -96,6 +96,20 @@
<!-- more commands upon request -->
</children>
</tagNode>
+ <node name="wireguard">
+ <properties>
+ <help>Show wireguard interface information</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/show_interfaces.py --intf-type=wireguard --action=show-brief</command>
+ <children>
+ <leafNode name="detail">
+ <properties>
+ <help>Show detailed wireguard interface information</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/show_interfaces.py --intf-type=wireguard --action=show</command>
+ </leafNode>
+ </children>
+ </node>
</children>
</node>
</children>