]> git.proxmox.com Git - mirror_ifupdown2.git/blame - docs/source/intro.rst
Documentation cleanup
[mirror_ifupdown2.git] / docs / source / intro.rst
CommitLineData
2c0ad8b3
RP
1python-ifupdown2
2----------------
3
4The python-ifupdown2 package provides the infrastructure for
5parsing /etc/network/interfaces file, loading, scheduling, template parsing,
6state management and interface dependency generation of interfaces.
7
8It dynamically loads python modules from /usr/share/ifupdownmodules (provided
904908bc 9by the python-ifupdown2-addons package). To remain compatible with other
2c0ad8b3
RP
10packages that depend on ifupdown, it also executes scripts under /etc/network/.
11To make the transition smoother, a python module under
12/usr/share/ifupdownmodules will override a script by the same name under
13/etc/network/.
14
15It publishes an interface object which is passed to all loadble python
16modules. For more details on adding a addon module, see the section on
17adding python modules.
18
19ifupdown2 module calls all modules for every interface declared in the
20/etc/network/interfaces file.