diff options
author | hagbard <vyosdev@derith.de> | 2018-08-27 08:35:39 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2018-08-27 08:35:39 -0700 |
commit | 00e809cd899cb8a9b55b1eb547ffa2e7d6e86a24 (patch) | |
tree | f1cb13fd0360e4c0064287cffb987f2b2a0b72f7 /op-mode-definitions | |
parent | 6b27311f86c65cde3d44629015c6a6e49d31a794 (diff) | |
download | vyos-1x-00e809cd899cb8a9b55b1eb547ffa2e7d6e86a24.tar.gz vyos-1x-00e809cd899cb8a9b55b1eb547ffa2e7d6e86a24.zip |
T793: wiregurard preshared-key op-mode script and interface implementation
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/wireguard.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/op-mode-definitions/wireguard.xml b/op-mode-definitions/wireguard.xml index a7e156d8d..75fb05228 100644 --- a/op-mode-definitions/wireguard.xml +++ b/op-mode-definitions/wireguard.xml @@ -14,6 +14,12 @@ </properties> <command>${vyos_op_scripts_dir}/wireguard_key.py --genkey</command> </leafNode> + <leafNode name="preshared-key"> + <properties> + <help>generate a wireguard preshared key</help> + </properties> + <command>${vyos_op_scripts_dir}/wireguard_key.py --genpsk</command> + </leafNode> </children> </node> </children> @@ -34,6 +40,12 @@ </properties> <command>${vyos_op_scripts_dir}/wireguard_key.py --showpriv</command> </leafNode> + <leafNode name="preshared-key"> + <properties> + <help>show wireguard preshared key</help> + </properties> + <command>${vyos_op_scripts_dir}/wireguard_key.py --showpsk</command> + </leafNode> </children> </node> <node name="interfaces"> |