pyroute2
pyroute2 copied to clipboard
Python Netlink and PF_ROUTE library — network configuration and monitoring
Hello: Same as NetNS was implemented to execute "ip" commands (IPRoute) inside a namespace, is there any plan to support Conntrack under a namespace context? Thank you and regards.
I am using `pyroute2 0.5.12` in a Docker container that is based on Alpine Linux 3.11 and that runs on each of a Kubernetes cluster’s nodes with`hostNetwork: true` (i.e. in...
So I know how to obtain e.g. links that reside in another network namespace (with `NetNS.get_links()`), and I also know how to obtain TCP flow statistics for the default network...
This may be user error, but I'm finding it pretty hard to get a SIT up both when using IPRoute and NDB. This: ```python from pyroute2 import IPRoute ipr =...
This version runs is in production on thousands of servers for maybe a year(?), and I see this exception for the first time, so this probably can be safely written...
Currently it is impossible to add a team device with specific configuration using IPRoute. Instead a hardcoded config is used. Code sample: ```python from pyroute2 import IPRoute ipr = IPRoute()...
My concrete task is to set interface-specific sysctl variable (`arp_ignore`) for an interface inside netns. It is as easy as opening a `/proc/sys/net/.../arp_ignore` file and writing a character there. But...
The `auto_netns` option for NDB is nice, but why does it handle the attributes `target` and `netns` other than it is done when adding an netns manually by using `ndb.sources.add(netns='mynetns')`?...
Hi, Could you please help me understand what I'm missing: Python 3.6.9 [GCC 8.3.0] on linux >>> from pyroute2 import ethtool >>> etht = ethtool.Ethtool() ERROR:root:Generic netlink protocol ethtool not...
Hi! First thing, thanks a lot for the awesome piece of software! I enjoy using it a lot. Unfortunately, I've hit a snag. The call to fdb('dump') returns empty answer,...