OSDN Git Service

Better support for rule attributes.
authorLorenzo Colitti <lorenzo@google.com>
Mon, 21 Apr 2014 05:12:28 +0000 (14:12 +0900)
committerLorenzo Colitti <lorenzo@google.com>
Mon, 2 Feb 2015 08:47:26 +0000 (17:47 +0900)
commit7a799dc4db3d08e3308af6fc1e7a1fa1e404442c
tree65b5f17e29ca83c5dfd28ef86040c27318dd1b96
parent355dbf5fbbeff6c6b2a42fb5a5df673951cb2b17
Better support for rule attributes.

1. Make attributes into a dict so we can find them.
2. Add a function to decode some attributes to Python types.

Change-Id: I8d52a203818f5b24cf691cd2e86d52744d2ee191
tests/net_test/iproute.py
tests/net_test/mark_test.py