mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Ticket: CM-6723 Reviewed By: roopa Testing Done: unit tested and testifupdown2 test suite This patch installs bond interface defaults in /etc/network/ifupdown2/policy.d/bond_defaults.json and allows users to modify this file. Users can then leave out these bond attributes in their configs to save typing and space. It also changes the ifenslave and ifenslaveutil module to bond and bondutil, respectively to be consistent with other modules (and also because customers think of "bond" interfaces not "ifenslave" interfaces.) For example, the default file installed looks like the following: { "README": "This file is user generated and modifiable.", "bond": { "defaults": { "bond-mode": "802.3ad", "bond-miimon": "100", "bond-use-carrier": "1", "bond-lacp-rate": "0", "bond-min-links": "1", "bond-xmic-hash-policy": "layer3+4" } } } Please enter the commit message for your changes. Lines starting
62 lines
665 B
ReStructuredText
62 lines
665 B
ReStructuredText
Documentation for the ifupdownaddons default addons modules
|
|
***********************************************************
|
|
|
|
address
|
|
=======
|
|
|
|
.. automodule:: address
|
|
|
|
.. autoclass:: address
|
|
:members: run, get_ops
|
|
|
|
|
|
bridge
|
|
======
|
|
|
|
.. automodule:: bridge
|
|
|
|
.. autoclass:: bridge
|
|
:members: run, get_ops
|
|
|
|
dhcp
|
|
====
|
|
|
|
.. automodule:: dhcp
|
|
|
|
.. autoclass:: dhcp
|
|
|
|
ethtool
|
|
=======
|
|
|
|
.. automodule:: ethtool
|
|
|
|
.. autoclass:: ethtool
|
|
|
|
bond
|
|
====
|
|
|
|
.. automodule:: bond
|
|
|
|
.. autoclass:: bond
|
|
|
|
mstpctl
|
|
=======
|
|
|
|
.. automodule:: mstpctl
|
|
|
|
.. autoclass:: mstpctl
|
|
|
|
usercmds
|
|
========
|
|
|
|
.. automodule:: usercmds
|
|
|
|
.. autoclass:: usercmds
|
|
|
|
vlan
|
|
====
|
|
|
|
.. automodule:: vlan
|
|
|
|
.. autoclass:: vlan
|