diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-09-02 14:05:33 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-09-02 14:05:33 +0200 |
commit | b1ff7baaf3c52c8c364955632fcece2da7033b10 (patch) | |
tree | 36312631aa5c5f7d0c49cd605297e850a23eb5d9 /src/op_mode/snmp.py | |
parent | 0d1bb97861bc904ba6699b9d031f64adb33d044a (diff) | |
download | vyos-1x-b1ff7baaf3c52c8c364955632fcece2da7033b10.tar.gz vyos-1x-b1ff7baaf3c52c8c364955632fcece2da7033b10.zip |
op-mode: T1376: speed up tab-completion for DHCP pool listing
Commit 9f20bee81c ("T1376: improve show_dhcp and show_dhcpv6") added the tab
completion helper to list the availbale IP pools to query. This was done by
calling a python script which then called cli-shell-api which resulted in a
penalty by the Python interpreter startup.
This can be solved by directly using the cli-shell-api wrapper available
as <path> in op-mode - as also seen for DHCPv6.
Diffstat (limited to 'src/op_mode/snmp.py')
0 files changed, 0 insertions, 0 deletions