Configuring the Service Module
- In the Cloud API URL field, type your CloudStack API URL.
- In the API Key field, type your CloudStack API key.
- In the Secret Key field, type your CloudStack secret key.
- In the Request Timeout field, type your desired timeout in seconds. Using zero results in no timeout and is not recommended, because it can result in daily invoice runs being blocked if your host is unreachable.
- In the Root disk pricing method field, select either Per fixed disk size or Per GB.
- In the remaining pricing fields, enter your prices for each CloudStack service.
- Click Save or Save & New.
Image Added
Configuring the Service Plan
When you add a CloudStack billing service, it automatically pulls the billing and usage data.
Access the CloudStack Service Details page- Access your CloudStack Service Plan Details page.
- In the
Add Service Wizard, create the basics of your CloudStack service.For the service plan, make sure Post-Renew under Pricing & Period Defaults is set to Yes.
When you add the CloudStack Billing Service Module, Ubersmith will create a Custom Data field for clients called 'CloudStack Account ID'. If you want to associate an Ubersmith client with an existing CloudStack client, update the Custom Client Data Field with their CloudStack Account ID.
Now, when you add a service to the client that has the CloudStack Billing module enabled, it will automatically pull the billing and usage data for that client. You can also click the 'View Details' link to see more details for the client's usage.
- Billing section, click Edit. The Edit Service page appears.
- In the
Usage Plan Rate Prooperties section, click - Post Renew field, select Yes.
- Click Save.
Image Added - In the Custom Fields section, click Edit. The Edit Service page appears.
- In the CloudStack Billing section, enter the following:
In the CloudStack Account ID field, enter your client’s CloudStack account ID.
In the CloudStack Project ID field, enter your client’s CloudStack project ID. - Click Save.
Image Added