libnl/python
Teto a4e588d04a Fixed ObjIterator for python3, fixed output of _color and added missing parameter to nl_cache_resync
Here are a few things I fixed and that provoked a  python error.

I canno't answer to this thread but one solution I found while using
the python binding is to iterate over all and filter via python
http://list-archives.org/2013/09/09/libnl-lists-infradead-org/missing-feature-for-retrieving-cached-
address-objects/f/5031600704

Example:
cache = nlrta.AddressCache()
cache.resync()

for i in cache:
    print ("item", i ) # then you can filter here

Signed-off-by: Thomas Graf <tgraf@suug.ch>
2013-10-07 09:52:08 +02:00
..
doc python interface to netlink protocols 2011-05-10 12:17:33 +02:00
examples python: remove use of PyArg_ParseTuple() for callback result 2013-10-07 09:45:56 +02:00
netlink Fixed ObjIterator for python3, fixed output of _color and added missing parameter to nl_cache_resync 2013-10-07 09:52:08 +02:00
.gitignore python: Include python/ in distribution and provide a README on how to build & install 2011-08-12 10:45:47 +02:00
Makefile.am python: Include python/ in distribution and provide a README on how to build & install 2011-08-12 10:45:47 +02:00
README python: Include python/ in distribution and provide a README on how to build & install 2011-08-12 10:45:47 +02:00
setup.py.in add python module for generic netlink library 2013-07-18 23:22:18 +02:00

***************************************************************************

NOTE: The python wrapper is experimental and may or may not work.

***************************************************************************

For the brave:

  (requires an installed libnl)
  - $ python ./setup.py build
  - $ sudo python ./setup.py install