-
Notifications
You must be signed in to change notification settings - Fork 357
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
Do not create default wired connections for bond ports #5703
Do not create default wired connections for bond ports #5703
Conversation
/kickstar-test --testtype network |
/kickstart-test --testtype network |
464cf82
to
104ed84
Compare
104ed84
to
9523983
Compare
/kickstart-test --testtype network |
9523983
to
0639de3
Compare
0639de3
to
cefa41d
Compare
Kickstart tests update: rhinstaller/kickstart-tests#1221 |
Related kickstart-tests update: rhinstaller/kickstart-tests#1221 |
I've checked locally that the failing tests pass after update in rhinstaller/kickstart-tests#1221 |
/kickstart-test --testtype network |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and thanks for the test updates.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me otherwise. Thanks!
if not dumped_con: | ||
dumped_con = self._select_persistent_connection_for_device(device, available_cons) | ||
|
||
if not dumped_con and len(initramfs_cons) == 1: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can put the second if under the first one and remove the not dumped_con
part of the condition.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not following, could you please rather write it down. The intended logic here is to assign the dumped_con in steps in order of priority, like if we find persistent connection we are done here.
(NM.SETTING_CONNECTION_SETTING_NAME, | ||
NM.SETTING_CONNECTION_AUTOCONNECT, | ||
True), | ||
# Update cloned generic connection from initramfs | ||
(NM.SETTING_CONNECTION_SETTING_NAME, | ||
NM.SETTING_CONNECTION_MULTI_CONNECT, | ||
0), | ||
# Update cloned generic connection from initramfs | ||
(NM.SETTING_CONNECTION_SETTING_NAME, | ||
NM.SETTING_CONNECTION_WAIT_DEVICE_TIMEOUT, | ||
-1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indentation seems to be weird here. Is it correct?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the catch, updated.
cefa41d
to
dd6ae13
Compare
Related: RHEL-38451
Resolves: RHEL-38451
dd6ae13
to
556348e
Compare
/kickstart-test --testtype smoke |
Resolves: RHEL-38451