summaryrefslogtreecommitdiff
path: root/interface-definitions/lldp.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-25 21:03:01 +0200
committerChristian Poessinger <christian@poessinger.com>2021-04-25 21:03:01 +0200
commitb6301bfd6a6cb084671fd24970a4a06b10a89d90 (patch)
treeb9a167ad3e77935efeeaa0977d22d5bac8a82e96 /interface-definitions/lldp.xml.in
parentbafc84f32635dd00850a334b7802e6afa28e2b0c (diff)
downloadvyos-1x-b6301bfd6a6cb084671fd24970a4a06b10a89d90.tar.gz
vyos-1x-b6301bfd6a6cb084671fd24970a4a06b10a89d90.zip
lldp: T1898: add completion helper to list assigned IPs for management-address
Diffstat (limited to 'interface-definitions/lldp.xml.in')
-rw-r--r--interface-definitions/lldp.xml.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/interface-definitions/lldp.xml.in b/interface-definitions/lldp.xml.in
index 9fdffcea1..e14abae14 100644
--- a/interface-definitions/lldp.xml.in
+++ b/interface-definitions/lldp.xml.in
@@ -152,6 +152,9 @@
<leafNode name="management-address">
<properties>
<help>Management IP Address</help>
+ <completionHelp>
+ <script>${vyos_completion_dir}/list_local_ips.sh --both</script>
+ </completionHelp>
<valueHelp>
<format>ipv4</format>
<description>IPv4 Management Address</description>