SadiJr opened a new pull request, #7236:
URL: https://github.com/apache/cloudstack/pull/7236

   ### 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_CREATE` is used; when a network is removed, the event 
`EVENT_NETWORK_DELETE` is used; and when a network is updated, the event 
`EVENT_NETWORK_UPDATE` is used. Also, this new type has the attributes 
`value.state`, `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 networks via UI;
   2. Previously, ACS did not save any network events 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]

Reply via email to