Page MenuHomeVyOS Platform

Need to fix traceroute help completion
Closed, ResolvedPublicFEATURE REQUEST

Description

Need to fix traceroute help completion

  1. vrf completion does not show the list of existing VRFs
vyos@vyos:~$ traceroute 10.10.10.10 vrf
Possible completions:
  <Enter>               Execute the current command
  <vrf>                 Traceroute options
  1. interface completion does not show the list of existing interfaces
vyos@vyos:~$ traceroute 10.10.10.10 interface
Possible completions:
  <Enter>               Execute the current command
  <interface>           Traceroute options
  1. Unexpected completion call an error
vyos@vyos:~$ traceroute 10.10.10.10 kjsad Traceback (most recent call last):
  File "/usr/libexec/vyos/op_mode/traceroute.py", line 177, in <module>
    if options[matched[0]]['type'] == 'noarg':
IndexError: list index out of range

Possible completions:
  <Enter>               Execute the current command
  <text>                Traceroute options
  1. Remove used options from the list of suggested options

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Related Objects

StatusSubtypeAssignedTask
ResolvedFEATURE REQUESTa.apostoliuk
ResolvedFEATURE REQUESTa.apostoliuk

Event Timeline

a.apostoliuk changed the task status from Open to In progress.Nov 8 2022, 9:23 AM
a.apostoliuk claimed this task.
a.apostoliuk created this task.
Viacheslav changed the task status from In progress to Needs testing.Nov 11 2022, 8:18 AM