HewlettPackard / PacketRusher

High performance 5G UE/gNB Simulator and CP/UP load tester.
Apache License 2.0
100 stars 21 forks source link

[BUG] CLI Error if --tunnel is used before --dedicatedGnb #90

Open abousselmi opened 4 months ago

abousselmi commented 4 months ago

Describe the bug If we use --tunnel is used before --dedicatedGnb (or -d) in the CLI, it throws an error.

For example, if we execute this

./packetrusher --config config.yml multi-ue -n 2 --tunnel true -d --tunnel-vrf false

we get:

FATA[0000] You cannot use the --tunnel option, without using the --dedicatedGnb option

To Reproduce Steps to reproduce the behavior:

  1. Execure ./packetrusher --config config.yml multi-ue -n 2 --tunnel true -d

Expected behavior The CLI executes normally.

Architecture (please complete the following information):