Panel | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Temporary page |
...
The API gets the default list of bill providers based on the allowed datacenters and public cloud regions.
Add additional providers
In Abiquo 6.1+, the ONPREMISE
provider is automatically part of on-premise billing and you do not need to configure it.
You can add custom providers for display on the dashboard billing widgets. If you are using Abiquo private billing, then you can activate the provider type “ONPREMISE” ONPREMISE
to display the billing data for all private cloud resources. To do this, configure the UI with the following property in the client-config-custom.json
file.
Code Block |
---|
"client.dashboard.widgets.lastbills.additionalproviders": ["ONPREMISE"] |
Exclude providers
In Abiquo 6.1+, the platform uses the ONPREMISE
provider for on-premise billing and you do not need to exclude hypervisor types.
You can exclude a list of providers from display on the dashboard billing widgets. If you are using Abiquo private billing from previous versions, then you may wish to deactivate the standard providers, such as “ABIQUOABIQUO-VCENTER_
CLUSTER”. CLUSTER
You could also deactivate a public cloud provider, such as “azurecomputeazurecompute-
arm”arm
. To do this, configure the UI with the following property in the client-config-custom.json
file.
Code Block | ||
---|---|---|
| ||
"client.dashboard.widgets.lastbills.excludedproviders": ["ABIQUO-VCENTER_CLUSTER", "azurecompute-arm"] |
...
To configure the provider list:
Go to the UI configuration folder.
Code Block /var/www/html/ui/config
Create or edit the
client-config-custom.json
fileAdd the configuration properties as required. Here is a basic example of a custom UI configuration that includes a different URL for the UI and the above properties.
Code Block { "config.endpoint": "http://a.differenturl.com/api", "client.dashboard.widgets.lastbills.additionalproviders": ["ONPREMISE"], "client.dashboard.widgets.lastbills.excludedproviders": ["ABIQUO-VCENTER_CLUSTER"] }
For more details, see Configure Abiquo UI.
...
What are the default billing providers?
For billing dashboards and for budgetsdashboards with Abiquo private billing, the Abiquo UI gets the list of billing providers using the API (List bill providers of the Bills resource at https://wiki.abiquo.com/api/latest/BillsResource.html#list-bill-providers). The API gets the bill providers from the allowed public cloud regions and datacenters (from the Datacenter limits resource at https://wiki.abiquo.com/api/latest/EnterpriseLimitsByDatacentersResource.html#list-datacenter-limits-of-an-enterprise).
For public cloud Abiquo displays the provider name, and for private cloud with Abiquo private billing it displays the hypervisor type of the datacenter, in the format ABIQUO-{hypervisor type}. For the list of hypervisor types, see the Hypervisor types resource at https://wiki.abiquo.com/api/latest/HypervisorTypesResource.html.
...