While implementing the netns handling in ifstate I got aware that pyroute2 did not have a netlink RTM_NEWNSID request implementation.
I got https://github.com/svinota/pyroute2/pull/1121 merged into pyroute2 to add RTM_NEWNSID support.
Later I have noticed that my implementation does not work within netns (pyroute2 related, some details in issue https://github.com/svinota/pyroute2/issues/1123 ).
After this tangled journey ifstate netns dev branch now has its first netns superpowers 😎
#ifstate #linux #linuxnetworking #netlink #pyroute2