Page MenuHomeVyOS Platform

"monitor bandwidth-test initiate" command fails with an "option requires an argument" error
Closed, ResolvedPublicBUG

Description

Hey,
Seems like the monitor bandwidth-test function also needs an update

Server-side (works fine):

vyos@vyos:~$ monitor bandwidth-test accept
------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------

Client-side (missing arguments):

vyos@vyos:~$ monitor bandwidth-test initiate 10.0.0.2
iperf: option requires an argument -- c
Usage: iperf [-s|-c host] [options]
Try `iperf --help' for more information.

Details

Difficulty level
Easy (less than an hour)
Version
VyOS 1.2.0-RC6
Why the issue appeared?
Implementation mistake

Event Timeline

syncer edited projects, added VyOS 1.2 Crux (VyOS 1.2.0-rc8); removed VyOS 1.2 Crux.

The argument number in the command definition was wrong.

dmbaturin renamed this task from monitor bandwidth-test initiate - missing arguments to "monitor bandwidth-test initiate" command fails with a "missing arguments" error.Nov 12 2018, 12:31 AM
dmbaturin renamed this task from "monitor bandwidth-test initiate" command fails with a "missing arguments" error to "monitor bandwidth-test initiate" command fails with an "option requires an argument" error.
dmbaturin closed this task as Resolved.
dmbaturin claimed this task.
dmbaturin changed Why the issue appeared? from Will be filled on close to Implementation mistake.