Peter Saveliev
Peter Saveliev
How come, I wonder... `auth_manager` is a module that allows to restrict operations based on external plugins (like keystone, radius etc.) if NDB is used for some kind of RPC....
900+ is not a number, I test it on 50k+ routes, so it must work if doesn't — it's clearly a bug, and thanks for the report as I see...
@fqucuo a fix is under way: https://github.com/svinota/pyroute2/pull/994 I can not reproduce the error yet, so it takes some time to fix everything properly. Meanwhile you can switch off the netns...
A fix that helps to mitigate the issue is merged into the master, but it doesn't fix the root cause. The work on that will be continued.
The reason why NDB accepts a parameters dict instead of a netlink socket instance is that NDB tries to restart sources in the case of failures. NDB stores the parameters...
You'll meet two weird things that will be refactored later. 1. A builtin messaging protocol to interconnect NDB instances — is going to be dropped and replaced with 0mq or...
@cunha a draft fix is pushed: https://github.com/svinota/pyroute2/pull/997 More tests and some docs will follow tomorrow. The implementation as you proposed: ```python ndb = NDB(sources=[{..., 'netlink_groups': ...}]) ``` https://github.com/svinota/pyroute2/blob/b550a71a8227198df9509be10bd61511f7c521b0/tests/test_linux/test_ndb/test_init.py#L15-L19
LGTM, if you could fix pep8 (run `make format`) — would be nice. I see no issues so far, but tonigh I'll look more closer and start some test routines...
@inemajo does the functional test succeeds on your system?
Is it possible that the test has some prerequisites set up on your machines but on the CI VM:s? I'll take a look tonight, maybe will be lucky to find...