SadiJr opened a new pull request, #7235: URL: https://github.com/apache/cloudstack/pull/7235
### Description The usage of VPCs are not captured and saved by the Usage plugin, which makes it impossible to charge via the Quota plugin. The Usage plugin has extended, to save the VPC events in database. When a VPC is created, the event `EVENT_VPC_CREATE` is used; when a VPC is removed, the event `EVENT_VPC_DELETE` is used. Also, this new type has the attributes `value.id` and `value.name` injected in the Quota plugin. ### Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [ ] Bug fix (non-breaking change which fixes an issue) - [x] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) ### Feature/Enhancement Scale or Bug Severity #### Bug Severity - [ ] BLOCKER - [ ] Critical - [ ] Major - [x] Minor - [ ] Trivial ### Screenshots (if appropriate): ### How Has This Been Tested? It was tested in a local lab: 1. I created and destroyed VPCs via UI; 2. Before, ACS did not save any VPC event in Usage; 3. Now, ACS saves these events in Usage. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
