- 23 Jun, 2015 3 commits
-
-
Brenden Blanco authored
use "raw_input" instead "input" to avoid python 2.7 exception
-
Yonghong Song authored
Signed-off-by:
Yonghong Song <yhs@plumgrid.com>
-
Yonghong Song authored
Signed-off-by:
Yonghong Song <yhs@plumgrid.com>
-
- 19 Jun, 2015 1 commit
-
-
4ast authored
Rework vlan example to be 1:1, no mac learning
-
- 18 Jun, 2015 9 commits
-
-
Brenden Blanco authored
example that shows usages of maps, probe_read, get_current_pid helpers
-
Alexei Starovoitov authored
$ ./task_switch.py task_switch[ 2379-> 0]=4 task_switch[ 3914-> 0]=2 task_switch[ 3133-> 0]=5 task_switch[10903-> 0]=100 <-- 100 times python process switched into idle task_switch[ 116-> 0]=1 task_switch[ 0-> 14]=1 task_switch[10803-> 0]=1 task_switch[22292-> 0]=1 task_switch[ 0->22292]=1 task_switch[ 0->10803]=1 task_switch[ 30-> 0]=1 task_switch[ 0->10903]=100 <-- 100 times back into python Signed-off-by:
Alexei Starovoitov <ast@plumgrid.com>
-
Brenden Blanco authored
* Use ifindex instead of src_mac to program egress table * Remove the static arp programming * Get the example to work in python2 Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Move shared example code into simulation.py
-
Brenden Blanco authored
* Create a class for the examples to share, helps with IPDB cleanup and namespace creation. Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Remove update() call from vlan example
-
Brenden Blanco authored
* Breakage from previous commit Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Make python table accesses more pythonic
-
Brenden Blanco authored
* Add [] support in BPF.Table class * Remove uses of lookup/update * Add del support Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- 17 Jun, 2015 8 commits
-
-
Brenden Blanco authored
add get_current_pid/tgid/uid/gid/comm helpers
-
Alexei Starovoitov authored
Signed-off-by:
Alexei Starovoitov <ast@plumgrid.com>
-
Alexei Starovoitov authored
Signed-off-by:
Alexei Starovoitov <ast@plumgrid.com>
-
4ast authored
Automatically compute sizeof in bpf_trace_printk
-
Brenden Blanco authored
* Addresses issue #61 Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Add example for BPF+tc rate limiting
-
Brenden Blanco authored
Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- 16 Jun, 2015 5 commits
-
-
Brenden Blanco authored
* Adding an example to address #59, simulation of bandwidth sharing Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Compatibility fixes and pyroute2 examples
-
Brenden Blanco authored
Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
* 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>
-
Brenden Blanco authored
* Add requirement on 'future' package to ensure backwards compatibility - If working in dev environment, do 'sudo pip install future' Note: end-users installing a compiled package with pip should have future installed as a dependency automatically. Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- 12 Jun, 2015 9 commits
-
-
Brenden Blanco authored
reduce test time for test_brb and test_brb2
-
Yonghong Song authored
Signed-off-by:
Yonghong Song <yhs@plumgrid.com>
-
4ast authored
Automatically detect key/leaf type in clang
-
Brenden Blanco authored
Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
* Parse the key and leaf types used for table definition, and pass the type info back into python using a json transport * Remove the subscript operator support * Migrate the tests that are able to drop they Key/Leaf definition. Keep it around for the tests that are B/C compatible Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Cleanups for some build/compile failures
-
yonghong-song authored
-
Brenden Blanco authored
Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
- 11 Jun, 2015 5 commits
-
-
Brenden Blanco authored
python commands module is removed in python 3, use subprocess
-
Brenden Blanco authored
* Change ftw to nftw, and do depth-first tmpdir cleanup * Scrub CROSS_COMPILE variable before kbuild_helpers Signed-off-by:
Brenden Blanco <bblanco@plumgrid.com>
-
Yonghong Song authored
Signed-off-by:
Yonghong Song <yhs@plumgrid.com>
-
Brenden Blanco authored
Yhs dev
-
Yonghong Song authored
Signed-off-by:
Yonghong Song <yhs@plumgrid.com>
-