Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ncm-network: add additional bonding options #1735

Merged
merged 2 commits into from
Nov 21, 2024

Conversation

aka7
Copy link
Contributor

@aka7 aka7 commented Nov 18, 2024

add additional bonding options, as per https://docs.rs/nmstate/latest/nmstate/struct.BondOptions.html#fields

  • Why the change is necessary: ability to set bonding options such as
    resend_igcmp and others,

  • What backwards incompatibility it may introduce: none, all options added are optional.

@aka7 aka7 requested review from stdweird and jrha November 18, 2024 18:13
@aka7 aka7 mentioned this pull request Nov 18, 2024
@aka7 aka7 force-pushed the ncm_network_bonding_opts branch from f23ccd3 to a67cf52 Compare November 19, 2024 11:36
@jouvin
Copy link
Contributor

jouvin commented Nov 19, 2024

@aka7 we just merge an update to the CI tests. It should not change the result but probably it a good idea to rebase to ensure everything is ok.

@jrha jrha modified the milestones: 25.next, 24.10 Nov 19, 2024
add additional bonding options
@aka7 aka7 force-pushed the ncm_network_bonding_opts branch 3 times, most recently from 9215131 to a0c7fd5 Compare November 19, 2024 21:58
@aka7 aka7 force-pushed the ncm_network_bonding_opts branch from a0c7fd5 to bda7418 Compare November 19, 2024 21:59
@jrha
Copy link
Member

jrha commented Nov 20, 2024

Wait, are any of these newly added fields supported by the initscripts backend?

@aka7
Copy link
Contributor Author

aka7 commented Nov 20, 2024

Wait, are any of these newly added fields supported by the initscripts backend?

we use few already. We are already setting the following with ifcfg, which I know works. I haven't yet checked for others added.
in ifcfg, you get config generated such as below from network.pm (however this version is our forked version internally) so worth someone outside MS checking this please?

BONDING_OPTS='arp_interval=8000 arp_ip_target=10.x.x.x arp_validate=all mode=active-backup primary=eth0 primary_reselect=always resend_igmp=2'

@jrha jrha merged commit b4ce5e9 into quattor:master Nov 21, 2024
3 checks passed
@aka7 aka7 deleted the ncm_network_bonding_opts branch November 21, 2024 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

4 participants