[ https://issues.apache.org/jira/browse/CLOUDSTACK-2130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13669205#comment-13669205 ]
Saksham Srivastava commented on CLOUDSTACK-2130: ------------------------------------------------ I am generating 4 usage events: EVENT_NETWORK_OFFERING_REMOVE : oldnicid: oldnetworkoffering - default EVENT_NETWORK_OFFERING_ASSIGN : newnicid: newnetworkoffering - default EVENT_NETWORK_OFFERING_REMOVE: newnicid: newnetworkoffering - non-default EVENT_NETWORK_OFFERING_ASSIGN : oldnicid: oldnetworkoffering - non-default > UpdateDefaultNicForVirtualMachine api should also create usage events for > updating new default network > ------------------------------------------------------------------------------------------------------ > > Key: CLOUDSTACK-2130 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2130 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Network Controller, Usage > Affects Versions: 4.2.0 > Environment: build: CloudStack-non-OSS-MASTER-232-rhel6.3 > Reporter: shweta agarwal > Assignee: Saksham Srivastava > Priority: Critical > Fix For: 4.2.0 > > > When we call UpdateDefaultNicForVirtualMachine we should call appropriate > usage events as well for updating information related to default nic for > proper usage calculation -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira