Uh oh!
There was an error while loading. Please reload this page.
[Usage] Create network billing - #7236
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@## 4.19 #7236 +/- ##
============================================
- Coverage 30.96% 29.90% -1.06% + Complexity 34304 33070 -1234
============================================
Files 5354 5359 +5 Lines 376105 376883 +778 Branches 54694 54833 +139 ============================================
- Hits 116454 112716 -3738 - Misses 244336 249277 +4941 + Partials 15315 14890 -425
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
SonarCloud Quality Gate failed. |
stephankruggg
left a comment
There was a problem hiding this comment.
CLGTM, not manually tested
DaanHoogland
commented
Feb 24, 2023
@SadiJr 4 of those 10 code smells look more serious, can you look at those. I will review this later. |
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
kiranchavala
commented
Mar 7, 2023
@SadiJr Could you please resolve the merge conflicts |
SonarCloud Quality Gate failed. |
DaanHoogland
commented
Mar 29, 2023
@SadiJr for this one as well, we have to decide what to base this on and correct the upgrade path accordingly. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| DELETE FROM `cloud`.`snapshot_store_ref` | ||
| WHERE store_role = "Primary" AND store_id IN (SELECT id FROM storage_pool WHERE removed IS NOT NULL); | ||
There was a problem hiding this comment.
@DaanHoogland I think the file indentation is better by removing this line.
This pull request has merge conflicts. Dear author, please fix the conflicts and sync your branch with the base branch. |
Co-authored-by: Henrique Sato <henriquesato2003@gmail.com>
DaanHoogland
commented
Apr 24, 2024
This looks good to everyone. merging |








Description
The usage of networks is not captured and saved by the Usage plugin, which makes it impossible to charge via the Quota plugin. The Usage plugin has been updated to record network events in the database. When a network is created, the event
EVENT_NETWORK_CREATEis used; when a network is removed, the eventEVENT_NETWORK_DELETEis used; and when a network is updated, the eventEVENT_NETWORK_UPDATEis used. Also, this new type has the attributesvalue.state,value.idandvalue.nameinjected in the Quota plugin.Types of changes
Feature/Enhancement Scale or Bug Severity
Bug Severity
Screenshots (if appropriate):
How Has This Been Tested?
It was tested in a local lab: