Skip to content

Conversation

@markgoddard
Copy link

No description provided.

busterswt and others added 2 commits June 24, 2022 15:08
This patch applies configuration to all links present in
the local_link_information dictionary and not only to the first one.

With these changes, bonding modes not requiring special switch configurations
should be supported, including:

Mode 1: Active/Backup
Mode 5: Transmit Load Balancing (TLB)
Mode 6: Adaptive Load Balancing (ALB)

Change-Id: Ic3e10d19315b776662188f41c552fe0676a12782
Closes-Bug: #1759000
(cherry picked from commit a6d14ab)
Since Ic3e10d19315b776662188f41c552fe0676a12782, multiple links in a
port group are configured. This typically works for bond modes that do
not require switch-side configuration, such as active/passive, TLB and
ALB.

In some cases this may also work for 802.3ad link aggregates, if
local_link_connection.port_id in the ports is set to the name of the
port group interface. However some switches require different commands
to be used when configuring port groups vs switch port interfaces. For
example, NVIDIA Cumulus switches require to use 'net add bond...'
instead of 'net add interface ...'.

This change adds support for devices that require different commands to
configure port groups, and provides an implementation for NVIDIA Cumulus
switches.

Closes-Bug: #1976382
Related-Bug: #1759000

Change-Id: I0693c495170aa821a2f571038f387c50a2f6c599
(cherry picked from commit 0de7a26)
@markgoddard markgoddard self-assigned this Jun 24, 2022
@priteau
Copy link
Member

priteau commented Jul 19, 2022

I ran unit tests manually, which passed. We should add a workflow for them.

@markgoddard
Copy link
Author

I ran unit tests manually, which passed. We should add a workflow for them.

Release train should handle this. Unsure why it hasn't. @jackhodgkiss ?

@markgoddard markgoddard merged commit f5a3677 into stackhpc/xena Jul 19, 2022
@markgoddard markgoddard deleted the xena-backports branch July 19, 2022 10:10
@markgoddard
Copy link
Author

I ran unit tests manually, which passed. We should add a workflow for them.

Release train should handle this. Unsure why it hasn't. @jackhodgkiss ?

Looks like the workflows are present. Perhaps this branch did not include them

@priteau
Copy link
Member

priteau commented Jul 19, 2022

I ran unit tests manually, which passed. We should add a workflow for them.

Release train should handle this. Unsure why it hasn't. @jackhodgkiss ?

Looks like the workflows are present. Perhaps this branch did not include them

Right, there was no .github directory on this branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants