Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Enabled the use of Links as context managers. | Antoni S. Puimedon | 2012-10-04 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | | With this change you can still set do modifications of Links and then to change to pass the changes to the kernel. But it additionally enables you to interact with this part of libnl-python in a more pythonic way. Instead of: eth0 = links['eth0'] eth0.mtu = 5000 eth0.change() you can do: with links['eth0'] as eth0: eth0.mtu = 5000 | ||||
* | Fixed memory leak in Cache destructor | Коренберг Марк | 2012-06-08 | 1 | -1/+1 |
| | | | | destructor of Cache was missing due to typo | ||||
* | rtnl_link_(get|set)_weight is deprecated in libnl. | Коренберг Марк (ноутбук дома) | 2012-06-08 | 2 | -21/+0 |
| | | | | So, remove from python binding. Should not break compatibility. | ||||
* | netlink.nlattr re-implemented in more pythonic way | Коренберг Марк | 2012-06-08 | 8 | -116/+66 |
| | |||||
* | nl_pickup removed from python binding | Коренберг Марк | 2012-06-08 | 1 | -5/+0 |
| | |||||
* | Remove unnecessary comments | Коренберг Марк (ноутбук дома) | 2012-06-08 | 6 | -186/+0 |
| | |||||
* | Refine some places | Коренберг Марк (ноутбук дома) | 2012-06-08 | 2 | -19/+20 |
| | | | | No real logick change | ||||
* | pylint's first review and trivial fixes | Коренберг Марк (ноутбук дома) | 2012-06-08 | 8 | -91/+105 |
| | |||||
* | Using only single quotes now and multi-line lists | Коренберг Марк (ноутбук дома) | 2012-06-08 | 7 | -41/+59 |
| | | | | Nothing algorithmic changed really, just cosmetics | ||||
* | Fix indentation (spaces vs tabs) | Коренберг Марк (ноутбук дома) | 2012-06-08 | 9 | -2192/+2192 |
| | | | | Now, python files use pseudo-tab equal 4 spaces | ||||
* | Code cleanups | Коренберг Марк (ноутбук дома) | 2012-06-08 | 2 | -8/+2 |
| | | | | | | 1. unused "import struct" removed 2. AddressFamily.__len__ is defined, but why in so way? removed. 3. comparison against instancemethod type fixed | ||||
* | Flags properties description and implementation fixed | Коренберг Марк (ноутбук дома) | 2012-06-08 | 3 | -9/+42 |
| | | | | | | | 1. Address, Link and Vlan classes affected with same bug 2. Flags property are not designed as set class. Setting to property will not replace flags, just add flags to set. So, jist document that, and fixed obvious logick. | ||||
* | Fixed various str-related logick | Коренберг Марк (ноутбук дома) | 2012-06-08 | 5 | -10/+10 |
| | |||||
* | Fix whitespaces at EOL | Коренберг Марк (ноутбук дома) | 2012-06-08 | 7 | -27/+27 |
| | | | | Make git happy with that | ||||
* | Introduce Python's absolute_imports | Коренберг Марк (ноутбук дома) | 2012-06-08 | 9 | -31/+47 |
| | | | | Helps greatly when porting to Python 3 | ||||
* | Fix typo in still unused function that generate colored message | Коренберг Марк (ноутбук дома) | 2012-06-08 | 1 | -1/+1 |
| | |||||
* | Make syntax highlighters happy | Коренберг Марк (ноутбук дома) | 2012-06-08 | 1 | -1/+1 |
| | | | | Fix typo in docstring | ||||
* | Removed generated .pyc files from repository | Коренберг Марк | 2012-06-08 | 3 | -0/+0 |
| | |||||
* | Fixed address deletion | Коренберг Марк (ноутбук дома) | 2012-06-08 | 1 | -3/+3 |
| | | | | | 1. rtnl_addr_delete require three arguments 2. comment fixed (fixed copy-past from link.py) | ||||
* | python: Link against nl-3 and nl-route-3 | Thomas Graf | 2011-10-26 | 1 | -2/+2 |
| | |||||
* | python: Include python/ in distribution and provide a README on how to build ↵ | Thomas Graf | 2011-08-12 | 6 | -1/+41 |
| | | | | & install | ||||
* | use rtnl_link_set/get_type() | Thomas Graf | 2011-07-21 | 3 | -4/+6 |
| | |||||
* | removed autogenerated swig interface files from git tree | Thomas Graf | 2011-07-21 | 4 | -20757/+0 |
| | |||||
* | ignore python build directory | Thomas Graf | 2011-07-21 | 1 | -0/+1 |
| | |||||
* | Work on libnl-python | Thomas Graf | 2011-06-10 | 20 | -324/+21478 |
| | | | | Changes too numerous to describe them | ||||
* | python interface to netlink protocols | Thomas Graf | 2011-05-10 | 21 | -0/+3985 |
currently includes experimental support for links, addresses and some traffic control |