summaryrefslogtreecommitdiff
path: root/op-mode-definitions/ipv6-route.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-23 17:45:20 +0100
committerChristian Breunig <christian@breunig.cc>2023-01-23 17:46:14 +0100
commit36adc975316b8511c53c813b7542196e3d2779a8 (patch)
tree0beeaaca7e6d473765c4e16761ad79ae8a8394cb /op-mode-definitions/ipv6-route.xml.in
parentcf78cac4757ceaca59ace03ad9a6a98f5746f223 (diff)
downloadvyos-1x-36adc975316b8511c53c813b7542196e3d2779a8.tar.gz
vyos-1x-36adc975316b8511c53c813b7542196e3d2779a8.zip
op-mode: T4952: improve interface completion helper CLI experience
There are currently two ways to generate the interface name completion helper list (we use openvpn in this example) - <script> ${vyos_completion_dir}/list_interfaces.py --type openvpn</script> - <path>interfaces openvpn</path> The first one using <script> tends to be rather slow as there is a Python interpreter startup involved (expensive). The latter simply calls a C program which is executed rather fast and gives the same result. We can simply replace the first call with the second one to make the CLI feel faster.
Diffstat (limited to 'op-mode-definitions/ipv6-route.xml.in')
-rw-r--r--op-mode-definitions/ipv6-route.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/ipv6-route.xml.in b/op-mode-definitions/ipv6-route.xml.in
index d75caf308..46e416a8a 100644
--- a/op-mode-definitions/ipv6-route.xml.in
+++ b/op-mode-definitions/ipv6-route.xml.in
@@ -26,7 +26,7 @@
<properties>
<help>Show IPv6 neighbor table for specified interface</help>
<completionHelp>
- <script>${vyos_completion_dir}/list_interfaces.py -b</script>
+ <script>${vyos_completion_dir}/list_interfaces.py --broadcast</script>
</completionHelp>
</properties>
<command>${vyos_op_scripts_dir}/neighbor.py show --family inet6 --interface "$5"</command>