![]() 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 |
||
---|---|---|
.. | ||
doc | ||
netlink | ||
.gitignore | ||
Makefile.am | ||
README | ||
setup.py.in |
*************************************************************************** NOTE: The python wrapper is experimental and may or may not work. *************************************************************************** For the brave: (requires an installed libnl) - $ python ./setup.py build - $ sudo python ./setup.py install