-
Notifications
You must be signed in to change notification settings - Fork 387
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
Normalize non standard CIDRs to fix OVS error #1767
Conversation
/test-all |
Codecov Report
@@ Coverage Diff @@
## master #1767 +/- ##
==========================================
+ Coverage 63.31% 64.02% +0.71%
==========================================
Files 170 192 +22
Lines 14250 16355 +2105
==========================================
+ Hits 9023 10472 +1449
- Misses 4292 4820 +528
- Partials 935 1063 +128
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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. Thanks for fixing it.
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.
not sure
K8s allows non standard CIDRs to be specified (e.g. 10.0.1.1/16, fe80::7015:efff:fe9a:146b/64). However, OVS will report OFPBMC_BAD_WILDCARDS error if using them in the OpenFlow messages. antrea-agent has normalized IPv6 CIDRs before installing Openflows but hasn't done it for IPv4 CIDRs. This patch fixes the IPv4 case.
5cc20c9
/test-all |
@abhiraut Did you want to say something? :) |
i was going to say something which probably got erased by mistake and i forgot it now.. but anyway .. change looks good to me :D |
Thanks @srikartati @jianjuns @abhiraut for the review. |
K8s allows non standard CIDRs to be specified (e.g. 10.0.1.1/16, fe80::7015:efff:fe9a:146b/64). However, OVS will report OFPBMC_BAD_WILDCARDS error if using them in the OpenFlow messages. antrea-agent has normalized IPv6 CIDRs before installing Openflows but hasn't done it for IPv4 CIDRs. This patch fixes the IPv4 case.
K8s allows non standard CIDRs to be specified (e.g. 10.0.1.1/16, fe80::7015:efff:fe9a:146b/64). However, OVS will report OFPBMC_BAD_WILDCARDS error if using them in the OpenFlow messages. antrea-agent has normalized IPv6 CIDRs before installing Openflows but hasn't done it for IPv4 CIDRs. This patch fixes the IPv4 case.
K8s allows non standard CIDRs to be specified (e.g. 10.0.1.1/16, fe80::7015:efff:fe9a:146b/64). However, OVS will report OFPBMC_BAD_WILDCARDS error if using them in the OpenFlow messages. antrea-agent has normalized IPv6 CIDRs before installing Openflows but hasn't done it for IPv4 CIDRs. This patch fixes the IPv4 case.
K8s allows non standard CIDRs to be specified (e.g. 10.0.1.1/16, fe80::7015:efff:fe9a:146b/64). However, OVS will report OFPBMC_BAD_WILDCARDS error if using them in the OpenFlow messages. antrea-agent has normalized IPv6 CIDRs before installing Openflows but hasn't done it for IPv4 CIDRs. This patch fixes the IPv4 case.
K8s allows non standard CIDRs to be specified (e.g. 10.0.1.1/16,
fe80::7015:efff:fe9a:146b/64). However, OVS will report
OFPBMC_BAD_WILDCARDS error if using them in the OpenFlow messages.
antrea-agent has normalized IPv6 CIDRs before installing Openflows but
hasn't done it for IPv4 CIDRs. This patch fixes the IPv4 case.
Fixes #1764