pyroute2
pyroute2 copied to clipboard
Python Netlink and PF_ROUTE library — network configuration and monitoring
From the IRC: > < Prokto > @svinota Hi, I'm using pyroute2 to create a basic SDN type of program. I'm very thankful for the library and I'm just trying...
I have been messing around with the testing/decoder/decoder.py script while debugging an implementation of a new devlink command. I saw that the decoder script only runs the nlmsg decode function,...
Hi, I've been trying to use IPBatch to create bunch of routes. I've started with an example from documentation to test how it works and when I add something to...
for 0.5.12 the contents of setup.ini are as follows. ``` [setup] version=0.5 release= setuplib=setuptools ``` setup.py calls ` version=config.get('setup', 'release'),` which maps to the blank release line. this raises this...
I wonder if it is already possible to get the same details for a device like calling the `ethtool` command: ```bash # ethtool enp0s31f6 Settings for enp0s31f6: Supported ports: [...
Hi! When I add only ip address, all good. But when I add skbprio field, get errors and address not added to set ALLOW. What format of field "skbprio" is...
``` $ sudo python Python 2.7.9 (default, Sep 17 2016, 20:26:04) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import pyroute2 >>> nft =...
Hi, I'm having problems with Pyroute2's TC functionality (for tbf). Rate that results (after conversions) in a value higher than the max uint32 causes the struct.error. I've actually tried to...
I want to respond to IP address and route changes in asyncio application. As pyroute2 uses blocking code, I run the monitor function in executor thread. When the application is...
Hello, link_lookup is mandatory for many use cases since we need interface index for almost all change/update. However, current pyroute2 implementation is too slow. Especially in use case with many...