pyroute2

Pyroute2 is a pure Python netlink library. It requires only Python stdlib, no 3rd party libraries. Later it can change, but the deps tree will remain as simple, as it is possible.

The library provides several modules:

  1. Netlink protocol implementations (RTNetlink, TaskStats, etc)
  2. Simple netlink socket object, that can be used in poll/select
  3. IPRoute provides API that in some way resembles ip/tc functionality
  4. IPDB is an async transactional database of network settings (still experimental)

installation

make install or pip install pyroute2

requires

Python >= 2.6

  • test reqs (optional): python-coverage, python-nose

Table Of Contents

Previous topic

pyroute2 netlink library

Next topic

changelog

This Page