alexei-led / pumba

Chaos testing, network emulation, and stress testing tool for containers
Apache License 2.0
2.78k stars 195 forks source link

How to run netem on VLAN tagged interfaces? #182

Closed gp5ingh closed 3 years ago

gp5ingh commented 4 years ago

@alexei-led I am trying to run the network delay operation on the VLAN tagged interface on my system. The regex does not allow '.' in the interface name and throws below error:

FATA[0000] bad network interface name: must match '[a-zA-Z][a-zA-Z0-9_-]*'

Could you please suggest How I can run it against VLAN tagged interface?

alexei-led commented 4 years ago

Probably pumba should allow . In the name.

gp5ingh commented 3 years ago

Raised a PR to fix this issue:

https://github.com/alexei-led/pumba/pull/184