Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Override running tc delay command #168

Open
deanstef opened this issue Jun 2, 2020 · 0 comments
Open

Override running tc delay command #168

deanstef opened this issue Jun 2, 2020 · 0 comments

Comments

@deanstef
Copy link

deanstef commented Jun 2, 2020

I have a network of docker containers who, by default, run a tc delay command using the built-in iproute2 tc.

I want to use the pumba netem delay command to inject random delays within the network above. However, running pumba delays have no effect causing a RTNETLINK answers: File exists error. To override the current delay, tc has the option replace to be launched with the new delay invocation:

e.g. sudo tc qdisc replace dev eth0 root netem delay 100ms

Is there a way to invoke such replace option within a pumba command?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants