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

bridge: test connection.autoconnect-slaves behavior #158

Merged
merged 3 commits into from Apr 3, 2018

Conversation

thom311
Copy link
Member

@thom311 thom311 commented Mar 20, 2018

autoconnect.slaves should forcefully activate all slaves, even if the
device is currently busy with another profile. That was the case already,
but slightly broken with [1].

This adds two tests, one a general test, and the other where the
profile that should be stolen for activation is the slave profile
itself, but activated previously as a non-slave before being modified.
This is the scenario of bug [2].

[1] https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=0922a177385be188b9c9c8ad39c1068533f5a4b3
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1548265

The second test is not yet expected to pass on master, which is what [2] is all about.

autoconnect.slaves should forcefully activate all slaves, even if the
device is currently busy with another profile. That was the case already,
but slightly broken with [1].

This adds two tests, one a general test, and the other where the
profile that should be stolen for activation is the slave profile
itself, but activated previously as a non-slave before being modified.
This is the scenario of bug [2].

[1] https://cgit.freedesktop.org/NetworkManager/NetworkManager/commit/?id=0922a177385be188b9c9c8ad39c1068533f5a4b3
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1548265
@bengal
Copy link
Contributor

bengal commented Mar 21, 2018

Vladimir, please squash the last 2 commits into the first before merging.

Disable STP so that the bridge links goes up immediately when a slave
is up.

Also, modify the second test so that the bridge is autoactivated
because the fix for bz 1548265 is needed only for autoactivations.
@bengal bengal force-pushed the th/autoconnect-slaves-rh1548265 branch from 3094c72 to 2d63c1f Compare March 21, 2018 09:41
@vbenes vbenes force-pushed the th/autoconnect-slaves-rh1548265 branch from 2d63c1f to 8b88e45 Compare March 23, 2018 12:53
@vbenes vbenes merged commit b0646d7 into master Apr 3, 2018
@thom311 thom311 deleted the th/autoconnect-slaves-rh1548265 branch May 3, 2018 11:53
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

3 participants