Add simple examples for using pyroute2+tc
authorBrenden Blanco <bblanco@plumgrid.com>
Tue, 16 Jun 2015 07:21:57 +0000 (00:21 -0700)
committerBrenden Blanco <bblanco@plumgrid.com>
Tue, 16 Jun 2015 07:32:50 +0000 (00:32 -0700)
commit09e77f70cd5ec3763eabb2540dd22917b97839b7
treef34beb577f57ecbb6a0fad18138ad196b61fc765
parent00b8a403cc0745dd22a14cd05d0de94f157fc104
Add simple examples for using pyroute2+tc

* simple_tc shows using just IPRoute
* simple_ipdb shows using IPDB as well, slightly more complicated
 - If the exception handling is done as shown, hangs may result
 - If only IPRoute is used, this shouldn't be the case

Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
examples/simple_ipdb.py [new file with mode: 0755]
examples/simple_tc.py [new file with mode: 0755]