-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Static Routes: fix check on wrong global configuration #10066
base: 4.19
Are you sure you want to change the base?
Static Routes: fix check on wrong global configuration #10066
Conversation
@blueorangutan package |
@weizhouapache a [SL] Jenkins job has been kicked to build packages. It will be bundled with KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## 4.19 #10066 +/- ##
============================================
- Coverage 15.12% 15.12% -0.01%
+ Complexity 11259 11258 -1
============================================
Files 5408 5408
Lines 473842 473843 +1
Branches 57771 57771
============================================
- Hits 71677 71676 -1
- Misses 394168 394169 +1
- Partials 7997 7998 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
clgtm
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 11759 |
@blueorangutan test |
@DaanHoogland a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
[SF] Trillian test result (tid-11872)
|
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.
Code lgtm
Description
This PR fixes the wrong checks on CIDR of static routes
define global/zone configuration
denied.routes
, which has already added to database some years agocloudstack/engine/schema/src/main/resources/META-INF/db/schema-41520to41600.sql
Lines 586 to 587 in c94d0ab
check on the configuration
denied.routes
,instead ofGuestDomainSuffix
check if the route cidr (instead of vpc cidr) is link-local
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
How did you try to break this feature and the system with this change?