mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
97e09957b4
* Add addon module for B.A.T.M.A.N. advanced interface configuration. This commit adds support for configuring B.A.T.M.A.N. advanced interfaces with ifupdown2. B.A.T.M.A.N. advanced is a protocol to build Layer2 based mesh networks with. It's supported in the Linux kernel and thus available in many Linux environments. A configuration could look like this auto bat0 iface bat0 batman-ifaces eth1 eth2.23 batman-ifaces-ignore-regex .*_nodes batman-hop-penalty 23 # address 192.0.2.42/24 where »bat0« would be the local connection to the mesh network. The interfaces »eth1« and »eth2.23« would be used by the B.A.T.M.A.N. adv. protocol to communicate to other member of the mesh network. Any interfaces matching the »ifaces-ignore-regex« will be gently ignored by ifquery and ifreload as there might be some tunnels or interfaces added to the mesh network by other means which should not be removed by any subsequent ifreload run. The »hop-penalty» parameter set the penalty of this node within the mesh network. Signed-off-by: Maximilian Wilhelm <max@rfc2324.org> * addons: batman_adv: replacing rtnetlink by netlink api call and iproute2 instantiation fix These changes are due to modifications we introduced in debian-prep2. We no longer use the rtnetlink_api but a new one "netlink" build on top of python-nlmanager. * Reflect upstream change where flags are stored. Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
33 lines
1.5 KiB
Python
Executable File
33 lines
1.5 KiB
Python
Executable File
from distutils.core import setup
|
|
|
|
setup(name='ifupdown2',
|
|
version='1.1',
|
|
description = "ifupdown 2",
|
|
author='Roopa Prabhu',
|
|
author_email='roopa@cumulusnetworks.com',
|
|
url='cumulusnetworks.com',
|
|
packages=['ifupdown', 'ifupdownaddons'],
|
|
data_files=[ ('/etc/network/ifupdown2/',
|
|
['config/ifupdown2.conf']),
|
|
('/usr/share/bash-completion/completions/', ['completion/ifup']),
|
|
('/usr/share/ifupdown2/addons/', ['addons/bridge.py',
|
|
'addons/bond.py', 'addons/vlan.py',
|
|
'addons/mstpctl.py', 'addons/address.py',
|
|
'addons/dhcp.py', 'addons/usercmds.py',
|
|
'addons/ethtool.py',
|
|
'addons/addressvirtual.py', 'addons/vxlan.py',
|
|
'addons/link.py', 'addons/vrf.py',
|
|
'addons/bridgevlan.py', 'addons/batman_adv.py']),
|
|
('/usr/share/ifupdown2/nlmanager/',
|
|
['nlmanager/nllistener.py',
|
|
'nlmanager/nlmanager.py',
|
|
'nlmanager/nlpacket.py',
|
|
'nlmanager/__init__.py',
|
|
'nlmanager/README']),
|
|
('/etc/network/ifupdown2/', ['config/addons.conf']),
|
|
('/etc/network/ifupdown2/', ['config/addons.conf']),
|
|
('/var/lib/ifupdown2/policy.d/', []),
|
|
('/etc/network/ifupdown2/policy.d/', [])
|
|
]
|
|
)
|