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: allow for bonding with lacp while keeping validation #420

Merged
merged 4 commits into from Mar 5, 2015

Conversation

wdpypere
Copy link
Contributor

When bonding with LACP is configured (mode=4), updelay and primary are not required but lacp_rate is.

@stdweird
Copy link
Member

@wdpypere set milestone and add ncm-network prefix to the title

@wdpypere wdpypere changed the title allow for lacp while keeping validation ncm-network: allow for bonding with lacp while keeping validation Feb 18, 2015
@wdpypere wdpypere added this to the 15.2 milestone Feb 18, 2015
@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/522/
Test PASSed.

@jrha
Copy link
Member

jrha commented Feb 24, 2015

LGTM, could mode be restricted? IIRC only modes 0..6 are valid.

@wdpypere
Copy link
Contributor Author

@jrha it is updated.

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/527/
Test PASSed.

@Pansanel
Copy link
Contributor

Are you sure that lacp_rate is required by mode=4? We are using this mode with only miimon set and it works fine. According to https://www.centos.org/docs/5/html/5.1/Deployment_Guide/s3-modules-bonding-directives.html, lacp_rate has a default value (0).

@wdpypere
Copy link
Contributor Author

wdpypere commented Mar 3, 2015

@Pansanel You are correct, I'll update the pull request.

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/533/
Test PASSed.

@Pansanel
Copy link
Contributor

Pansanel commented Mar 4, 2015

As you can read on:
https://www.kernel.org/doc/Documentation/networking/bonding.txt
primary option is only valid for active-backup mode (active-backup(1), balance-tlb (5) and balance-alb (6)). It has not to be required by other mode, and we could also check that primary is not set with other mode than 1, 5 or 6.

@wdpypere
Copy link
Contributor Author

wdpypere commented Mar 4, 2015

@Pansanel can you check again? I made primary mandatory for mode 1, 5 and 6, and made sure it is not configured for the other modes.
I also removed the updelay check as it has a default and is only needed with miimon.

@hpcugentbot
Copy link

Refer to this link for build results (access rights to CI server needed):
https://jenkins1.ugent.be/job/NCM_Components-pull_requests/538/
Test PASSed.

@Pansanel
Copy link
Contributor

Pansanel commented Mar 5, 2015

It is ok for me. Can I merge the PR?

jrha added a commit that referenced this pull request Mar 5, 2015
ncm-network: allow for bonding with lacp while keeping validation
@jrha jrha merged commit b051a62 into quattor:master Mar 5, 2015
@wdpypere wdpypere deleted the ncm-network-lacp branch May 12, 2015 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants