Top
ServerView Resource Orchestrator Cloud Edition V3.1.0 Operation Guide
ServerView

15.2.2 Accounting Information File Format

The accounting information of L-Platform templates is written to the accounting information file. The format of accounting information file is as follows.

Columns represented in an accounting information file are shown below.

No

Name

Omit

Explanation

1

Product ID

No

Specify ID that identifies the product.
Register one product for each resource identifier.
Specify 16 or less characters using alphanumeric characters, _(underline), or -(hyphen).

2

Priority

No

Specify the priority in a product.
Multiple unit prices can be specified in a product, and the unit price with larger value has higher priority. (*1)
The same priority cannot be set to the same product.
Specify the numerical value from 0 to 999.

3

Start of applicable date

No

Specify start of applicable date.
Format: YYYY-MM-DDThh:mm:ss.SSSZ
Example) 2011-04-01T00:00:00.000+0900

4

End of applicable date

Yes

Specify end of applicable date.
Format: YYYY-MM-DDThh:mm:ss.SSSZ
Example) 2012-03-31T23:59:59.999+0900
Specify the date prior to the start of applicable date.

5

Category code

No

Specify the product category using following codes.

  • cpu: CPU

  • cpu clock: CPU clock

  • memory: memory capacity

  • vm: virtual L-Server

  • pm: physical L-Server

  • disk: extension disk capacity

  • template: template

6

Resource identifier

No

Specify information to identify the accounting target resource with 128 or less alphanumeric characters.
Resource identifiers vary by the category. (*2)

  • cpu, cpu_clock, memory: VM pool name or sever pool name

  • vm: virtual L-Server image name

  • pm: physical L-Server image name

  • disk: storage pool name

  • template: template ID

7

Unit code

No

Specify accounting unit using following codes.

  • year: yearly

  • month: monthly

  • hour: hourly

8

Unit price

No

Specify unit price.
Specify 11 or less digits for the integer portion and 4 or less digit for the fractional portion.
Specify the fractional currency unit (ex. cent) as 1 for U.S. dollar, euro, or Singapore dollar. Specify the currency unit as 1 for Japanese yen. (*3)
Example)
Specify 23 if the setting value is $0.23.
Specify 23 if the setting value is ¥23.

9

Product name

No

Specify the name to distinguish the products using 128 or less characters.

10

Description

Yes

Specify the description of the product using 1024 or less characters.
A comma that follows the name must be entered even when the specification is omitted.

Example)
...,Unit price,"Product name",

*1: An example of description is shown below assuming following settings.

*2: The value of the resource identifier can be obtained from the value of the corresponding XML tag of the template information list that is output in XML format by using the template information list display command. Refer to "9.12 cfmg_listtemplate (Displaying Template Information List)" in the "Reference Guide (Command/XML) CE" for information on how to use the template information list display command.
The resource identifier for each category code and the corresponding template information (XML tag) are shown below.

*3: The currency used is determined by the currency information setting. Refer to "8.7.2 Currency Information Settings" for information on the currency information setting.


An example description of template information and corresponding accounting information is shown below.

Note

  • The accounting information will not be deleted from the product master automatically even after the end of applicable date. Reference to "15.3.3 Delete Accounting Information" to delete unnecessary accounting information.

  • If the end of applicable date is specified, prepare other accounting information of the same product ID without specifying the end of applicable date.

  • If the overcommit function is enabled, the category codes cpu_clock and memory will be calculated by default as CPU reserve performance and memory reserve capacity, respectively, and usage fee (the estimated price) will be displayed on the L-Platform Management window.
    Refer to "8.7.1 Display Function Settings for Estimated Price" for information on charge settings when the overcommit function is enabled.