![]() With this change you can still set do modifications of Links and then to change to pass the changes to the kernel. But it additionally enables you to interact with this part of libnl-python in a more pythonic way. Instead of: eth0 = links['eth0'] eth0.mtu = 5000 eth0.change() you can do: with links['eth0'] as eth0: eth0.mtu = 5000 |
||
---|---|---|
.. | ||
route | ||
__init__.py | ||
capi.i | ||
core.py | ||
fixes.h | ||
Makefile.am | ||
util.py |