1
0
mirror of https://github.com/CumulusNetworks/ifupdown2.git synced 2024-05-06 15:54:50 +00:00

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>
This commit is contained in:
Julien Fortin
2020-05-13 20:27:21 +02:00
parent 85d04bab16
commit 9808982edf
4 changed files with 46 additions and 4 deletions

8
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
ifupdown2 (3.0.1-1) unstable; urgency=medium
* New. Enabled: ES bond with "es-sys-mac" attribute
-- Julien Fortin <julien@cumulusnetworks.com> Tue, 14 Apr 2020 23:42:42 +0200
ifupdown2 (3.0.0-1) unstable; urgency=medium
* New. Enabled: python3 support
@@ -12,7 +18,7 @@ ifupdown2 (3.0.0-1) unstable; urgency=medium
* Fix: mstpctl: check mstpctl-stp and bridge-stp and fix bridge cache update
* Removing python-argcomplete dependency
-- Julien Fortin <julien@cumulusnetworks.com> Tue, 14 Apr 2020 19:10:49 +0200
-- Julien Fortin <julien@cumulusnetworks.com> Tue, 14 Apr 2020 23:42:42 +0200
ifupdown2 (2.0.2-1) unstable; urgency=medium