summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorhagbard <vyosdev@derith.de>2019-09-10 12:37:31 -0700
committerhagbard <vyosdev@derith.de>2019-09-10 12:37:31 -0700
commit4f7b5ed06e85ad4b8810223e49c6f4e6645e73a2 (patch)
tree44aaca7a3c3faa2db48517bb7809dce8494068ee /op-mode-definitions
parenta237bd44396f849f7f3c35d2ea6928edb1c93ea4 (diff)
downloadvyos-1x-4f7b5ed06e85ad4b8810223e49c6f4e6645e73a2.tar.gz
vyos-1x-4f7b5ed06e85ad4b8810223e49c6f4e6645e73a2.zip
[wireguard] - clean up duplicated op options
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/wireguard.xml18
1 files changed, 3 insertions, 15 deletions
diff --git a/op-mode-definitions/wireguard.xml b/op-mode-definitions/wireguard.xml
index 3c54c81bd..c5c4c9914 100644
--- a/op-mode-definitions/wireguard.xml
+++ b/op-mode-definitions/wireguard.xml
@@ -8,9 +8,9 @@
<help>wireguard key generation utility</help>
</properties>
<children>
- <leafNode name="keypair">
+ <leafNode name="default-keypair">
<properties>
- <help>generate a wireguard keypair</help>
+ <help>generates the wireguard default-keypair</help>
</properties>
<command>sudo ${vyos_op_scripts_dir}/wireguard.py --genkey</command>
</leafNode>
@@ -37,19 +37,7 @@
<help>Show wireguard properties</help>
</properties>
<children>
- <leafNode name="pubkey">
- <properties>
- <help>Show wireguard public key</help>
- </properties>
- <command>${vyos_op_scripts_dir}/wireguard.py --showpub</command>
- </leafNode>
- <leafNode name="privkey">
- <properties>
- <help>show wireguard private key</help>
- </properties>
- <command>${vyos_op_scripts_dir}/wireguard.py --showpriv</command>
- </leafNode>
- <node name="named-keypairs">
+ <node name="keypairs">
<properties>
<help>Shows named wireguard keys</help>
</properties>