]> git.proxmox.com Git - mirror_ifupdown2.git/commit - debian/changelog
addons: bond: add support for es-sys-mac and es-bonds
authorJulien Fortin <julien@cumulusnetworks.com>
Wed, 13 May 2020 18:27:21 +0000 (20:27 +0200)
committerJulien Fortin <julien@cumulusnetworks.com>
Wed, 13 May 2020 18:27:21 +0000 (20:27 +0200)
commit9808982edf1efd0976fd53d41dbe7f050af6c08b
tree93664225214a86ef54d69b95a8de62b76c16400c
parent85d04bab16b943032d2abe7e6b3e5792da01648e
addons: bond: add support for es-sys-mac and es-bonds

ES bonds have the same "init state" requirements as CLAG bonds -
1. A bond needs to be designated as an "es-bond" for this purpose.
For clag-bonds we used "clag-id" attr (to designate a bond as a "clag-bond").
For ES bonds we will use "es-sys-mac" attr.

2. Slaves added to an "ES bond" must have protodown-on.
This is again similar to CLAG bonds

3. And vice-versa i.e. when a slave is removed from an "es-bond",
protodown-on must be cleared.

4. When es-sys-mac is first set on a bond, all the bond-slaves must be
placed in "protodown-on" state. This is needed whether FRR is running at that point or not.

Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
debian/changelog
ifupdown2/addons/bond.py
ifupdown2/ifupdown/iface.py
ifupdown2/lib/nlcache.py