ipspace / netlab

Making virtual networking labs suck less
https://netlab.tools
Other
437 stars 65 forks source link

netlab wrapper for tc #1387

Open ipspace opened 13 hours ago

ipspace commented 13 hours ago

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

jbemmel commented 13 hours ago

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 commented 12 hours ago

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