summaryrefslogtreecommitdiff
path: root/interface-definitions/system-syslog.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-05-05 23:17:19 +0200
committerChristian Breunig <christian@breunig.cc>2023-05-05 23:17:19 +0200
commit361dc162b2f9e7c7e83175a0820c8b134e631785 (patch)
tree0e180d89e84a44a74a4b73e2b666d54eaf011f9f /interface-definitions/system-syslog.xml.in
parenta5a34f9a64d783e7293c58aa83003c4388fb0d27 (diff)
downloadvyos-1x-361dc162b2f9e7c7e83175a0820c8b134e631785.tar.gz
vyos-1x-361dc162b2f9e7c7e83175a0820c8b134e631785.zip
syslog: T2769: xml: improve completion helpers
Diffstat (limited to 'interface-definitions/system-syslog.xml.in')
-rw-r--r--interface-definitions/system-syslog.xml.in11
1 files changed, 9 insertions, 2 deletions
diff --git a/interface-definitions/system-syslog.xml.in b/interface-definitions/system-syslog.xml.in
index 6c5f43090..4a2adfd5f 100644
--- a/interface-definitions/system-syslog.xml.in
+++ b/interface-definitions/system-syslog.xml.in
@@ -11,9 +11,12 @@
<tagNode name="user">
<properties>
<help>Logging to specific terminal of given user</help>
+ <completionHelp>
+ <path>system login user</path>
+ </completionHelp>
<valueHelp>
<format>txt</format>
- <description>user login name</description>
+ <description>Local user account</description>
</valueHelp>
<constraint>
#include <include/constraint/login-username.xml.i>
@@ -26,7 +29,7 @@
</tagNode>
<tagNode name="host">
<properties>
- <help>Logging to a remote host</help>
+ <help>Logging to remote host</help>
<constraint>
<validator name="ip-address"/>
<validator name="fqdn"/>
@@ -37,6 +40,10 @@
<description>Remote syslog server IPv4 address</description>
</valueHelp>
<valueHelp>
+ <format>ipv6</format>
+ <description>Remote syslog server IPv6 address</description>
+ </valueHelp>
+ <valueHelp>
<format>hostname</format>
<description>Remote syslog server FQDN</description>
</valueHelp>