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

netlab wrapper for tc #1387

Open
ipspace opened this issue Oct 17, 2024 · 2 comments
Open

netlab wrapper for tc #1387

ipspace opened this issue Oct 17, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@ipspace
Copy link
Owner

ipspace commented Oct 17, 2024

It would be nice to have a wrapper for some reasonably-simple tc CLI (comcast comes to mind) to introduce latency/jitter/delay/drops into topology links.

The wrapper should be similar to netlab capture (it can probably reuse 90% of the code) -- find the interface, execute external command to configure tc parameters

Any ideas for the CLI command we can use instead of tc @jbemmel @ssasso @ddutt @hellt

@ipspace ipspace added the enhancement New feature or request label Oct 17, 2024
@jbemmel
Copy link
Collaborator

jbemmel commented Oct 17, 2024

netem - see https://containerlab.dev/manual/impairments/
(still tc command)

I once proposed to support declarative impairments (like a WAN link with 100ms latency) but this never made it into the tool afaik

Could be a plugin that adds the tc settings to link

@ipspace
Copy link
Owner Author

ipspace commented Oct 17, 2024

We could also set the link impairment parameters in the topology file ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants