Skip to content

Commit

Permalink
command - limit egress traffic for specified containers
Browse files Browse the repository at this point in the history
  • Loading branch information
alexei-led committed Dec 13, 2016
1 parent b619343 commit eedb62f
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [v0.3.1] - 2016-12-13
### Added
- `netem rate` command, contributed by Ricardo Martins @meqif

## [v0.3.0] - 2016-11-6
### Added
- build label is calculated based on major build (VERSION file), git branch and commit
Expand Down
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ COMMANDS:
loss
duplicate
corrupt
rate limit egress traffic
OPTIONS:
--duration value, -d value network emulation duration; should be smaller than recurrent interval; use with optional unit suffix: 'ms/s/m/h'
Expand Down Expand Up @@ -237,6 +238,25 @@ OPTIONS:
--one-k value loss probability in the good state (default: 0)
```

```
$ pumba netem rate -h
NAME:
Pumba netem rate - rate limit egress traffic
USAGE:
Pumba netem rate [command options] containers (name, list of names, RE2 regex)
DESCRIPTION:
rate limit egress traffic for specified containers
OPTIONS:
--rate value, -r value delay outgoing packets; in common units (default: "100kbit")
--packetoverhead value, -p value per packet overhead; in bytes (default: 0)
--cellsize value, -s value cell size of the simulated link layer scheme (default: 0)
--celloverhead value, -c value per cell overhead; in bytes (default: 0)
```

##### Examples

```
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.0
0.3.1

0 comments on commit eedb62f

Please sign in to comment.