summaryrefslogtreecommitdiff
path: root/interface-definitions
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:53 +0200
commitbac0405f7828f14ce336c6a029612e05ae5abf53 (patch)
treea1763c529f5173eb8c7db2ac4b1d8993745289d9 /interface-definitions
parentf44e35d339ded011a76989b035f3577df33c3fa9 (diff)
downloadvyos-1x-bac0405f7828f14ce336c6a029612e05ae5abf53.tar.gz
vyos-1x-bac0405f7828f14ce336c6a029612e05ae5abf53.zip
lldp: T1898: add completion helper to list assigned IPs for management-address
(cherry picked from commit b6301bfd6a6cb084671fd24970a4a06b10a89d90)
Diffstat (limited to 'interface-definitions')
-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>