diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-12-22 18:42:28 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-12-22 18:42:49 +0100 |
commit | b95e5d120fb13b7ade66db7523b56e3f55bf6439 (patch) | |
tree | 13ee95ac24d017a06db7a8070d4fbec0dc305dfb /interface-definitions/interfaces-wireguard.xml.in | |
parent | 3fd31206fd6f00e407147e14877b0c70aacd3770 (diff) | |
download | vyos-1x-b95e5d120fb13b7ade66db7523b56e3f55bf6439.tar.gz vyos-1x-b95e5d120fb13b7ade66db7523b56e3f55bf6439.zip |
wireguard: T2206: improve help strings
Diffstat (limited to 'interface-definitions/interfaces-wireguard.xml.in')
-rw-r--r-- | interface-definitions/interfaces-wireguard.xml.in | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/interface-definitions/interfaces-wireguard.xml.in b/interface-definitions/interfaces-wireguard.xml.in index e54ef12f7..92c9f510c 100644 --- a/interface-definitions/interfaces-wireguard.xml.in +++ b/interface-definitions/interfaces-wireguard.xml.in @@ -90,21 +90,32 @@ </leafNode> <leafNode name="address"> <properties> - <help>IP address of tunnel remote end</help> + <help>IP address of tunnel endpoint</help> <valueHelp> <format>ipv4</format> - <description>IPv4 address to listen for incoming connections</description> + <description>IPv4 address of remote tunnel endpoint</description> </valueHelp> <valueHelp> <format>ipv6</format> - <description>IPv6 address to listen for incoming connections</description> + <description>IPv6 address of remote tunnel endpoint</description> </valueHelp> <constraint> <validator name="ip-address"/> </constraint> </properties> </leafNode> - #include <include/port-number.xml.i> + <leafNode name="port"> + <properties> + <help>Port number used for tunnel endpoint</help> + <valueHelp> + <format>u32:1-65535</format> + <description>Numeric IP port</description> + </valueHelp> + <constraint> + <validator name="numeric" argument="--range 1-65535"/> + </constraint> + </properties> + </leafNode> <leafNode name="persistent-keepalive"> <properties> <help>Interval to send keepalive messages</help> |