-
Notifications
You must be signed in to change notification settings - Fork 228
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
MGMT-20043: Modify MTU Validatin CMN to support multiple machine networks #7357
base: master
Are you sure you want to change the base?
MGMT-20043: Modify MTU Validatin CMN to support multiple machine networks #7357
Conversation
@linoyaslan: This pull request references MGMT-20043 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the bug to target the "4.19.0" version, but no target version was set. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
831149b
to
46b8414
Compare
…orks With the recent addition of the external LB feature in CMN, enabling multiple machine networks, this PR adjusts the MTU validation to accommodate scenarios with multiple machine networks.
46b8414
to
91eaa3a
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: linoyaslan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #7357 +/- ##
==========================================
- Coverage 67.97% 67.97% -0.01%
==========================================
Files 300 300
Lines 41013 41010 -3
==========================================
- Hits 27879 27876 -3
Misses 10632 10632
Partials 2502 2502
|
@linoyaslan: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
remoteIP := net.ParseIP(mtuReport.RemoteIPAddress) | ||
if mNetwork.Contains(remoteIP) && sourceIP != "" { | ||
// We are only interested in the remote IP within machine networks. If it is not part of any machine network, we don't need to consider it. | ||
if mNetwork.Contains(remoteIP) { |
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 we should also verify the source IP belongs to any of the machine networks.
With the recent addition of the external LB feature in CMN, enabling multiple machine networks, this PR adjusts the MTU validation to accommodate scenarios with multiple machine networks.
/cc @ori-amizur @eifrach @danmanor @AlonaKaplan
List all the issues related to this PR
What environments does this code impact?
How was this code tested?
Checklist
docs
, README, etc)Reviewers Checklist