tcconfig 0.26.0

A simple tc command wrapper tool. Easy to setup traffic control of network bandwidth/latency/packet-loss/packet-corruption to network interfaces.

Tags testing networking system-administrators telecommunications-industry developers tc traffic-shaping
License MITL
State beta

Recent Releases

0.26.026 Jul 2020 07:05 minor feature: Add --tc-command support with tcset --import-setting: #143. Add --delay-distribution option to tcset command: #137. Support importing src-networks: #144. tcshow failure when executing tcshow at a host that has tbf qdiscs. Don't return a failure if we try to delete a qdisc handle that doesn't exist: #147. tcconfig commands to avoid error return code when an ignorable error occurred. Modify to suppress excessive warning messages of tcdel command.
0.25.320 Jul 2020 20:25 minor feature: tcdel returns non-zero on exit when execute with --tc-command/--tc-script: #142. Remove execution authority check for ip command from tcdel when it does not execute ip command. Add wheel package to setup_requires to avoid installation error: #134. Replace simplejson to ujson and make it to an optional package.
0.24.103 Feb 2020 19:25 minor feature: tcconfig commands failed with --tc-command/--tc-script option when iproute2 package not installed: #130. Remove build/buildwhl/docs/release extras_require. Replace a dependency from netifaces to pyroute2.
0.24.020 Jan 2020 18:05 minor feature: Add --exclude-filter-id option to tcshow. Port value conversion to string: #117. Error when import tc configs that targeted to Docker containers: #127. Modify tcshow for docker container.
0.23.013 May 2019 03:16 minor feature: Add support for Python 3.8. Drop support for Python 3.4. Loosen some of the external dependencies version restriction. .
0.22.121 Mar 2019 06:05 minor feature: Configuration importing failed at Python 2 environments: #110. --overwrite option not properly worked when configuration imports. Improve checks for bandwidth rate upper limit. .
0.21.927 Feb 2019 07:05 minor feature: Avoid an error when there are no qdiscs to delete by tcdel on fedora environments: #108. Iptables bin path extraction for fedora environments.
0.21.704 Feb 2019 08:05 minor feature: avoid tcconfing commands execution fails that environment where Docker not installed. avoid tcconfing commands execution fails when failed to create veth mapping. Pin pip version to lower than 19 to avoid packaging failure: pypa/pip#6163.
0.21.625 Jan 2019 03:16 minor feature: Avoid an error caused by version mismatch of docker client and server: #103. Add --de-query option.
0.21.521 Jan 2019 03:15 minor feature: Refactor: modify arguments . Update requirements. . Modify to apply dependency packages update. . Update . Bump version.
0.21.414 Jan 2019 03:16 minor feature: Update advanced_usage.rst . . . Update docs. . Update a rule. . Add a project URL. . Align the method signature with subclasses. . Update requirements. . Update docs. . Update docs. . Update README. . Bump version.
0.21.231 Dec 2018 09:45 minor feature: Change to accept unit for netem parameters. Tcset command that --change option not properly reflected the output when using --tc-command/--tc-script options.
0.21.125 Dec 2018 03:16 minor feature: Add retries to package installation for Travis CI . a skip directory path. . Add a extras. . Add Makefile. . Update requirements. . Update docs. . Update README. . Bump version.
0.21.015 Oct 2018 17:25 minor feature: Add --dst-container/--dst-container options to tcset/tcdel. Loosen external package dependencies. .
0.20.210 Sep 2018 23:45 minor feature: Update help messages of commands . Update.gitignore. . Add short option to --version. . Update URLs to refer to. . Add a method to get a filter as string. . Modify deletion log messages to be more informative. . Extract private methods. . Update requirements. . Add units to tcshow command output. . Update docs. . Update docs. . Update README. . Bump vesion.
0.19.128 Jul 2018 16:45 minor feature: Tcset command execution failed when all of the following conditions: Using --tc-command option with --direction incoming option Netifaces package is installed. . Using --tc-command option with --direction incoming option. Netifaces package is installed.
0.19.017 Jul 2018 17:25 minor feature: Change -d/--device option of tcconfig commands into a positional argument e.g. tcset eth0 --rate 1Mbps -d/--device option still can be used for backward compatibility. . e.g. tcset eth0 --rate 1Mbps. -d/--device option still can be used for backward compatibility. Change tcset -f option to --import-setting option. Add --color option to tcshow command. Add support for Python 3.7. Introduce colorized logging. choices for --shaping-algo option. .
0.18.303 Jul 2018 13:45 minor feature: deb package build script . Update docs. . Remove imports that no longer needed. . Remove trailing whitespace. . Rename an argument to be more precisely represent the use purpose. . Remove line breaks. . Remove line breaks. . Modify typepy class reference. . Modify default argument for a method. . Update requirements. . Refactor SQLite queries. . Remove unnecessary shebangs. . Add unicode_literals. . Update requirements. . Replace deprecated methods. . Add badges. . Update README. . Bump version to 0.18.3.
0.18.206 May 2018 11:05 minor feature: Add support for Linux capability of the --direction incoming option. tcconfig commands failed when missing optional packages. Improve log messages. .
0.18.123 Apr 2018 03:18 minor feature: the PyPI page . Add encoding specification. . Add project_urls. . Add an alias. . Update requirements. . Bump version to 0.18.1.
0.16.229 Oct 2017 07:05 minor feature: Improper tcdel output when executed with --tc-command/--tc-script options. Suppress an excessive warning message that outputted when executed with --tc-command/--tc-script options.
0.16.118 Oct 2017 22:45 minor feature: Modify an error message to be more informative. Add a temporary variable for further enhancements. Modify demessages. Add a demessage. failed to set a shaping rule when shaping rules existing and add ?. Bump version to 0.16.1.
0.16.009 Oct 2017 13:05 minor feature: Change --change option behavior to add a shaping rule if there are no existing rules: #88. Improve error messages. .
0.14.121 Aug 2017 12:45 minor feature: Qdisc handle parsing failed when the handle include alphabet: #85. Tcdel failed when deleting the final filter with Python 3.
0.13.217 Aug 2017 09:45 minor feature: tcset --change option alters other defined rules: #79. Add config file existence check for the tcset. Add --stacktrace option for deging. Improve log messages. .
0.13.008 Aug 2017 13:25 minor feature: Add exclude options: #77 --exclude-dst-network. --exclude-src-network. --exclude-dst-port. --exclude-src-port. . --exclude-dst-network. --exclude-src-network. --exclude-dst-port. --exclude-src-port. Modify to --src-network option can be used without the --iptables option when using htb. .
0.12.118 Jul 2017 12:45 minor feature: Update helps. Update docs. Update docs. Update README. Remove an unnecessary u pre. Modify error messages. pylint cleanup. Update help. Update docs. Update requirements. Bump version to 0.12.1.
0.12.012 Jun 2017 17:25 minor feature: Add --change option to reduce shaping rule changing side effect: #68. Make a script file name created by tcshow --tc-script include target device names. Improve log messages. Avoid adding a shaping rule where a rule already existing path: #70 Modify to return proper exit code: #71 packaging Minor. Avoid adding a shaping rule where a rule already existing path: #70. Modify to return proper exit code: #71. packaging. Minor.
0.11.007 Jun 2017 09:05 minor feature: Add --duplicate/--reordering options: #67. Make tcset/tcdel commands executable without tc command installed when --tc-command/--tc-script options are used.
0.10.008 May 2017 12:05 minor feature: Add --src-port option. Improve log messages.
0.9.026 Mar 2017 03:45 major feature: Add IPv6 support: #61 #62. .
0.8.019 Mar 2017 17:05 minor feature: Add --tc-command option: display tc commands to be executed by tcconfig commands. Add --tc-script option: create a tc command script which include commands to be executed by tcconfig.
0.7.028 Jan 2017 11:32 major feature: - #30: Filter routes support. Thanks to @JonathanLennox - #39: Allow 100 packet loss/corruption settings. Thanks to @pdavies. - #43: Multiple rules support. Thanks to @konetzed - Add `--add` option - Change default shaping algorithm from tbf to htb - Python 3.6 support - Improve log messages - Bug fixes