mirror_ifupdown2/docs/source
Sam Tannous 6cb589dfdf Allow customer set bond defaults for CL with ifupdown2
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
2015-07-22 18:38:07 -04:00
..
images Documentation cleanup 2014-07-22 11:15:56 -07:00
addonsapiref.rst Allow customer set bond defaults for CL with ifupdown2 2015-07-22 18:38:07 -04:00
addonshelperapiref.rst Allow customer set bond defaults for CL with ifupdown2 2015-07-22 18:38:07 -04:00
apiref.rst Documentation cleanup 2014-07-22 11:15:56 -07:00
conf.py merge docs.addons content into docs directory 2015-03-10 14:18:30 -07:00
developmentcorner.rst merge docs.addons content into docs directory 2015-03-10 14:18:30 -07:00
gettingstarted.rst merge docs.addons content into docs directory 2015-03-10 14:18:30 -07:00
index.rst Doc updates + cleanup 2014-07-17 11:44:36 -07:00
intro.rst merge docs.addons content into docs directory 2015-03-10 14:18:30 -07:00
userguide.rst Enhance globbing in ifupdown2 to support breakout cables 2015-06-16 20:58:15 -04:00