-
Notifications
You must be signed in to change notification settings - Fork 1.3k
CLOUDSTACK-8749: KVM - cleanup linklocal interface based on names #718
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
Conversation
This tries to avoid cleaning by a device name. Signed-off-by: Rohit Yadav <[email protected]>
|
cloudstack-pull-rats #352 ABORTED |
|
LGTM |
|
cloudstack-pull-analysis #284 ABORTED |
|
LGTM |
|
@bhaisaab Let's make sure this ends up in master as well! |
This tries to avoid cleaning by a device name. Signed-off-by: Rohit Yadav <[email protected]> This closes #718
|
@remibergsma thanks, done. |
This tries to avoid cleaning by a device name. This closes #718 (cherry picked from commit 74f697a) Signed-off-by: Rohit Yadav <[email protected]>
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 concerned about the unchecked array access in the event of malformed/unexpected input. Consider the following as a bit of extra safety in the event of malformed input beginning at line 289:
if (tokens != null && tokens.length < 2) {
// Should we emit a log warning here to indicate that we received an unexpected string format?
continue;
}
final String device = tokens[2];
if (!Strings.isNullOrEmpty(device) &&
!device.equalsIgnoreCase(linkLocalBr)) {
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.
For this PR we cannot make any changes now that it is merged already; perhaps send a new PR or I can pick it up later.
Based on @jburwell's comment on PR apache#718 Signed-off-by: Rohit Yadav <[email protected]>
Based on @jburwell's comment on PR apache#718 Signed-off-by: Rohit Yadav <[email protected]>
Based on @jburwell's comment on PR apache#718 This closes apache#735 Signed-off-by: Rohit Yadav <[email protected]>
Based on @jburwell's comment on PR apache#718 This closes apache#733 Signed-off-by: Rohit Yadav <[email protected]>
CLOUDSTACK-8749: Add checks to prevent malformed/unexpected inputBased on @jburwell's comment on PR #718 * pr/735: CLOUDSTACK-8749: Add checks to prevent malformed/unexpected input Signed-off-by: Rohit Yadav <[email protected]>
CLOUDSTACK-8749: Add checks to prevent malformed/unexpected inputBased on @jburwell's comment on PR #718 * pr/733: CLOUDSTACK-8749: Add checks to prevent malformed/unexpected input Signed-off-by: Rohit Yadav <[email protected]>
Customize link hover color Customize loading color Customize navigation menu color Fixes #712 Fixes #713 Fixes #714 Signed-off-by: Rohit Yadav <[email protected]>
This tries to avoid cleaning by a device name.