-
-
Notifications
You must be signed in to change notification settings - Fork 81
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
Change or append/create rules #88
Comments
Please let me confirm your suggestion especially the latter part.
Does it means to change the logic as follows? Before (current behavior)
After
|
@thombashi exactly! Add a new rule but do not affect existing rules(i.e., |
@dastergon |
@dastergon
|
I have an issue when I try to create multiple entries with the How to reproducetcset --direction outgoing --dst-network 192.168.122.202 --delay 12milliseconds --rate 10Gbps --device ens3 --change
tcset --direction incoming --dst-network 192.168.122.202 --delay 12milliseconds --device ens3 --rate 10Gbps --change The commands work as expected:
But when I try to add a new entry for a different network: tcset --direction outgoing --dst-network 192.168.122.203 --delay 12milliseconds --rate 10Gbps --device ens3 --change; tcset --direction incoming --dst-network 192.168.122.203 --delay 12milliseconds --device ens3 --rate 10Gbps --change; I get the following error:
|
@dastergon
|
@thombashi It works now! Thanks! |
@dastergon |
I use tcconfig on multiple hosts where I execute commands via Ansible, therefore, I do not store state. I would like to be able to override rules (on per network basis) without affecting the other rules and, if the rules do not exist, I would like to append (
--add
) them in the current list of traffic shaping rules. This could be done either by introducing a new option or changing the logic of--change
option.Thanks.
The text was updated successfully, but these errors were encountered: