Make python table accesses more pythonic
authorBrenden Blanco <bblanco@plumgrid.com>
Thu, 18 Jun 2015 00:22:11 +0000 (17:22 -0700)
committerBrenden Blanco <bblanco@plumgrid.com>
Thu, 18 Jun 2015 00:22:11 +0000 (17:22 -0700)
commit6d82a5865ed759aee2751a34fddbea4c4940ab69
tree9e70027c05fe9a6a89c27d33a5f22a68f9166b5a
parent41507aeef6197b029bade503eed9ce30ce3fef88
Make python table accesses more pythonic

* Add [] support in BPF.Table class
* Remove uses of lookup/update
* Add del support

Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
examples/vlan_learning.py
src/python/bpf/__init__.py
tests/cc/test_brb.py
tests/cc/test_brb2.py
tests/cc/test_call1.py
tests/cc/test_stat1.py
tests/cc/test_trace1.py
tests/cc/test_trace2.py
tests/cc/test_trace3.py
tests/cc/test_xlate1.py