diff options
author | hagbard <vyosdev@derith.de> | 2019-09-09 11:55:54 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-09-10 10:28:29 -0700 |
commit | 1017c8103f12ebd6db4f250d8a154571fff32db1 (patch) | |
tree | 35620af3f240db61f44e861af6107c1cfeb81dca /interface-definitions/interfaces-wireguard.xml | |
parent | f7456361b5b94f3c69f8fa0f34f8bff0ef68f9aa (diff) | |
download | vyos-1x-1017c8103f12ebd6db4f250d8a154571fff32db1.tar.gz vyos-1x-1017c8103f12ebd6db4f250d8a154571fff32db1.zip |
[wireguard]: T1572 - Wireguard keyPair per interface
- param key location added in op-mode script
- param delkey and listkey implemented in op-mode script
- param delkey implemented in op-mode script
- generate and store named keys
- interface implementation tu use cli option
'private-key'
Diffstat (limited to 'interface-definitions/interfaces-wireguard.xml')
-rw-r--r-- | interface-definitions/interfaces-wireguard.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/interface-definitions/interfaces-wireguard.xml b/interface-definitions/interfaces-wireguard.xml index 6e2622018..f2a7cc316 100644 --- a/interface-definitions/interfaces-wireguard.xml +++ b/interface-definitions/interfaces-wireguard.xml @@ -77,6 +77,14 @@ </constraint> </properties> </leafNode> + <leafNode name="private-key"> + <properties> + <help>Private key to use on that interface</help> + <completionHelp> + <script>${vyos_op_scripts_dir}/wireguard.py --listkdir</script> + </completionHelp> + </properties> + </leafNode> <tagNode name="peer"> <properties> <help>peer alias</help> |