diff options
author | hagbard <vyosdev@derith.de> | 2018-08-23 11:20:34 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2018-08-23 11:20:34 -0700 |
commit | 5866fba00b77463ce29fa5700b9e89e783fea831 (patch) | |
tree | 4d7510f18c28722ad018596ca78d433a5b3180e1 /interface-definitions/wireguard.xml | |
parent | 264eb33a5008311c14626609def951d51a271814 (diff) | |
download | vyos-1x-5866fba00b77463ce29fa5700b9e89e783fea831.tar.gz vyos-1x-5866fba00b77463ce29fa5700b9e89e783fea831.zip |
T791: implementation
TODO: fwmark, mtu and pre-shared key
Diffstat (limited to 'interface-definitions/wireguard.xml')
-rw-r--r-- | interface-definitions/wireguard.xml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/interface-definitions/wireguard.xml b/interface-definitions/wireguard.xml index 7d1bb1b31..21656e3d8 100644 --- a/interface-definitions/wireguard.xml +++ b/interface-definitions/wireguard.xml @@ -16,6 +16,12 @@ </valueHelp> </properties> <children> + <!-- + <leafNode name="mtu"> + <properties> + <help>set interface mtu (default: 1420)</help> + </leafNode> + --> <leafNode name="address"> <properties> <help>IP address</help> @@ -51,9 +57,9 @@ <properties> <help>peer alias</help> <constraint> - <regex>^[0-9a-zA-Z]{1,100}</regex> + <regex>.[^ ]{1,100}$</regex> </constraint> - <constraintErrorMessage>input limited to 100 alphanumerical characters</constraintErrorMessage> + <constraintErrorMessage>peer alias too long (limit 100 characters)</constraintErrorMessage> </properties> <children> <leafNode name="pubkey"> |