Abiquo 4.6.3 introduces a new set of data entities for generating reports based on usage in VM hours. This will enable you to provide flat VM hour pricing to tenants while enabling volume discounts for resellers in a hierarchy.
Access to the report data will be controlled by the "ROLE_BILLS_MANAGE" privilege. The report for enterprises is also available to a user of an enterprise with the "ROLE_BILLS_VIEW" privilege.
Report data
Report data will be available through the Abiquo API from the "costusage" endpoints for all levels in a tenant hierarchy, as described in the following table.
Report | Description |
---|---|
Platform | Report on all usage of the the platform |
Reseller | Collection of reports on the resellers of the platform |
Key node | Collection of reports on usage per key-node enterprise (aggregating all the subsidiary enterprises). You must supply a reseller enterprise link/resellerCode or keyNode enterprise links |
Enterprises | Collection of reports on usage per enterprise. You must supply a link to an enterprise key node or links to enterprises. |
Account | Collection of reports on usage per account (accountId attribute) and you can filter them by providing a reseller enterprise link, an enterprise key-node link, or accountId values |
Details | Collection of reports on usage per VM. You must supply a link to an enterprise key node or links to enterprises. |
Time zones
In the database, the time zones are stored in UTC format. The default billing period is from day 1 of the previous month in UTC format.
Additional configuration
The administrator can also configure some enterprise properties for use in the reports, as described in the following table.
These properties are updated once a month at the start of the billing period. So if you make a change during a billing period, it will take effect in the next billing period.
Property | Description |
---|---|
resellerCode | To identify the reseller in the platform |
contractId | To identify the enterprise's contract with the platform provider |
currencyCode | By default this is "EUR" |
conversionFactor | For example, to convert from Euros to USD, you could set a value of "1.12". |
Manual configuration of price intervals
Abiquo can manage an internal configuration of price intervals for VM usage.