Peter Saveliev

Results 285 comments of Peter Saveliev

The `auto_netns` option is a bit problematic, and has more pitfalls than one may believe. I will look into that `netns` difference and will try to equalize it, but notice...

Another question is what to do if we start NDB with `auto_netns=True` and then manually run `ndb.sources.add(netns=…)`. Right now it adds two sources — the manual one and the auto....

The `netns` attr issue is addressed in this commit: https://github.com/svinota/pyroute2/commit/7af5e766aa3ce4c64f420c55696920e7f688e8a3 Should be better now

Looks strange, but obviously we see what we see :) Please tell me the Debian docker image so I reproduce. And the Alpine Linux docker image as well, let's see...

Maybe the `select` symbol gets overridden?

The eventlet module is one huge problem for NDB, tbh… NDB is thread-based and I'm not sure it is compatible with eventlet at all. The machinery inside NDB uses also...

Right now there are two methods: `.get_attr()` and `.get_attrs()`. The first one returns the first NLA attr with the name or `None` (or whatever specified as the second argument), the...

Something like that: ``` (ipr .get_links()[0] .IFLA_LINKINFO .IFLA_INFO_DATA .IFLA_VRF_TABLE) ``` (see the branch) The code is far not ready, but it's possible to play around. Pls notice that it's possible...