-
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
Fixup alerting and logging error in BGPServiceImpl #10252
base: 4.20
Are you sure you want to change the base?
Conversation
@blueorangutan package |
@vishesh92 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.20 #10252 +/- ##
=========================================
Coverage 16.13% 16.13%
Complexity 12972 12972
=========================================
Files 5639 5639
Lines 494297 494298 +1
Branches 59908 59909 +1
=========================================
+ Hits 79773 79774 +1
+ Misses 405698 405697 -1
- Partials 8826 8827 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
51f7677
to
9194370
Compare
@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. |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12187 |
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ debian ✔️ suse15. SL-JID 12188 |
@blueorangutan test |
@vishesh92 a [SL] Trillian-Jenkins test job (ol8 mgmt + kvm-ol8) has been kicked to run smoke tests |
[SF] Trillian test result (tid-12180)
|
Description
Fixes:
Generated summary
This pull request includes several changes to the
AlertManagerImpl
andBGPServiceImpl
classes to improve code clarity and functionality. The most important changes involve the handling of data center IDs and the logging of AS number allocations.Improvements to
AlertManagerImpl
:server/src/main/java/com/cloud/alert/AlertManagerImpl.java
: Added a new variabledcId
to handle data center IDs more effectively, replacing direct calls todataCenter.getId()
. [1] [2]Improvements to
BGPServiceImpl
:server/src/main/java/com/cloud/bgp/BGPServiceImpl.java
: Refactored the logging statement inallocateASNumber
to use final variables forVpcVO
andNetworkVO
, improving the readability and ensuring correct variable references.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?