ifupdown2 is a new implementation of debian’s network interface manager ifupdown. It understands interface dependency relationships, simplifies interface configuration, extends ifquery to support interface config validation, supports JSON and more.
The ifupdown2 package provides required infrastructure to parse, schedule and manage interface configuration. It also provides python addon modules for network interface configuration. The default python addon modules shipped with the package include bridge, vlan, bond, mstp, address modules and more.
For more details see:
ifupdown2