Go to file
Julien Fortin db65511035 closes: #810844: debian: control: Unlisted dependencies
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
2018-03-13 14:48:27 +11:00
addons batman_adv: Ignore non-existing batman interface when setting up batman iface. 2018-03-13 14:47:54 +11:00
completion move ifupdown2/* . 2015-08-02 05:05:52 -07:00
config Add addon module for B.A.T.M.A.N. advanced interface configuration. (#12) 2018-03-13 14:41:46 +11:00
debian closes: #810844: debian: control: Unlisted dependencies 2018-03-13 14:48:27 +11:00
docs docs: examples: new batman_adv folder with configuration script and example 2018-03-13 14:43:59 +11:00
ifupdown Add support for setting phys-dev for VXLAN interfaces. 2018-03-13 14:45:25 +11:00
ifupdownaddons Add support for setting phys-dev for VXLAN interfaces. 2018-03-13 14:45:25 +11:00
init.d Introduce a lock file in non-persistent storage /run/network/ifstatelock 2015-10-02 12:31:51 -07:00
man man: fixing lintian error 2016-11-10 01:51:11 +01:00
man.rst Merge remote-tracking branch 'cumulus/dev' 2017-02-23 17:17:26 +07:00
nlmanager Add support for setting phys-dev for VXLAN interfaces. 2018-03-13 14:45:25 +11:00
packages/ifupdown2/ifupdown ifupdown2: address: squash addr config and process them on the youngest sibling 2015-12-09 13:53:20 -05:00
sbin For hotplug devices check if the link is present, not up (#28) 2017-07-27 01:45:52 +02:00
scripts move ifupdown2/* . 2015-08-02 05:05:52 -07:00
tests move ifupdown2/* . 2015-08-02 05:05:52 -07:00
.gitignore Add validvals to addons, to be used by iface/ifedit wrapper 2016-06-16 03:37:35 +01:00
build.sh move ifupdown2/* . 2015-08-02 05:05:52 -07:00
KNOWN_ISSUES move ifupdown2/* . 2015-08-02 05:05:52 -07:00
LICENSE move ifupdown2/* . 2015-08-02 05:05:52 -07:00
README.md Update README.md with install instructions 2017-10-13 16:10:29 -07:00
README.rst Update README.rst (#11) 2017-08-01 16:08:10 +02:00
setup.py Add addon module for B.A.T.M.A.N. advanced interface configuration. (#12) 2018-03-13 14:41:46 +11:00
stdeb.cfg move ifupdown2/* . 2015-08-02 05:05:52 -07:00
TODO move ifupdown2/* . 2015-08-02 05:05:52 -07:00
TODO.addons Move ifupdown2addons into ifupdown2 pacakge 2014-10-09 16:02:46 -07:00

ifupdown2

ifupdown2 is a alternate implementation of debian's network interface manager ifupdown.

ifupdown2 provides the required infrastructure to parse, schedule and manage interface configuration. Also provides default python addon modules for network interface configuration.

Note: Previously ifupdown2 came as two packages: python-ifupdown2 and python-ifupdown2-addons. python-ifupdown2-addons contents are now merged into python-ifupdown2 package (python-ifupdown2-addons package is hence deprecated).

Install

dependencies

To install the mandatory dependencies please execute the following command:

apt-get install python-ipaddr
apt-get install python-argcomplete

More recommended dependencies:

apt-get install bridge-utils
apt-get install ethtool

debian & Ubuntu

To get our lastest version that is available on the debian repositories for your current OS just type apt-get install ifupdown2

Ubuntu users (anything bellow version Artful)

We highly recommend that you build your own debs or WGET a deb from the debian repo as we have trouble backporting our latest fixes and features in Zesty, Xenial and bellow.

wget http://ftp.us.debian.org/debian/pool/main/i/ifupdown2/ifupdown2_1.0~git20170314-1_all.deb
dpkg -i ifupdown2_1.0~git20170314-1_all.deb

build your own deb

If ever the repositories for your OS version doesn't include latest ifupdown2 you can always build your own deb

To buid on Ubuntu and debian you'll some extra packages:

apt-get install build-essential dh-systemd dh-make python-docutils

Then run the following commands:

dpkg-buildpackage -us -uc -d

On the master branch this simple command should produce a .deb file that you can install using dpkg -i

On the debian-prep2 branch, you'll need to run:

cd /path/to/ifupdown2/source/folder
git archive --format=tar HEAD | xz -9 -c >../ifupdown2_1.0~git20170314.orig.tar.xz && dpkg-buildpackage -us -uc -d

Note that the name of the tar archive needs to match the latest version present in the changelog. We usually use the date of the upload to tag a new version. In this previous example it was 20170314

If you are experiencing any issues please feel free to open a new issue.