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
Remove unused OF tables and flows on Windows #3138
Conversation
Codecov Report
@@ Coverage Diff @@
## main #3138 +/- ##
===========================================
- Coverage 59.79% 49.39% -10.41%
===========================================
Files 306 302 -4
Lines 26178 36319 +10141
===========================================
+ Hits 15654 17940 +2286
- Misses 8807 16676 +7869
+ Partials 1717 1703 -14
Flags with carried forward coverage won't be shown. Click here to find out more.
|
b3c7409
to
41a279b
Compare
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.
LGTM
41a279b
to
2841ea1
Compare
/test-windows-e2e |
14e78a0
to
76bc57f
Compare
76bc57f
to
385c474
Compare
/test-all-features-conformance |
/test-e2e to |
385c474
to
f5cdc16
Compare
/test-all-features-conformance |
/test-e2e |
/test-windows-conformance |
/test-integration |
/test-e2e |
/test-integration |
f5cdc16
to
71e77a1
Compare
/test-all-features-conformance |
/test-all-features-conformance |
/test-all-features-conformance |
/test-all-features-conformance |
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.
No further comment from me.
Thanks! |
/test-windows-all |
/test-ipv6-conformance |
b15dfbb
to
7026245
Compare
/test-all-features-conformance |
/test-windows-proxyall-e2e |
@tnqn Do you have any further comments? Thanks. |
Cookie(c.cookieAllocator.Request(category).Raw()). | ||
Done()) | ||
for _, localSubnet := range localSubnets { | ||
flows = append(flows, ClassifierTable.BuildFlow(priorityHigh).MatchProtocol(binding.ProtocolIP). |
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.
This is wrong. localSubnets includes one IPv4 subnet and one IPv6 subnet, setting protocol to binding.ProtocolIP
. for both subnets will not work. I don't think windows or flexiable IPAM supports IPv6, why don't just add the IPv4 check back and keep the IPv6 TODO as is?
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.
Thanks, updated.
On Windows Node: - Since all traffic from uplink interface is output to bridge local interface directly instead of being resubmitted to UplinkTable, flows on UplinkTables are no longer needed. - Since SNAT is performed on Windows host, flows in SNATTable which are used to perform SNAT are no longer needed. Another update is to add function CleanOFTableCache to reset ofTableCache and this function is only used in integration tests. Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
7026245
to
44d2512
Compare
/test-windows-all |
/test-all |
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.
LGTM
/test-integration |
On Windows Node: - Since all traffic from uplink interface is output to bridge local interface directly instead of being resubmitted to UplinkTable, flows on UplinkTables are no longer needed. - Since SNAT is performed on Windows host, flows in SNATTable which are used to perform SNAT are no longer needed. Another update is to add function CleanOFTableCache to reset ofTableCache and this function is only used in integration tests. Signed-off-by: Hongliang Liu <lhongliang@vmware.com>
On Windows Node:
local interface directly instead of being resubmitted to
UplinkTable, flows on UplinkTables are no longer needed.
SNATTable which are used to perform SNAT are no longer needed.
Another update is to add function CleanOFTableCache to reset
ofTableCache and this function is only used in integration tests.
Signed-off-by: Hongliang Liu lhongliang@vmware.com