Configure provider list in dashboard billing widgets

Temporary page
This page describes a UI configuration for billing dashboards to exclude providers that applies to Abiquo 6.0.6.

The following billing widgets can display data from more than one provider:

  • Last bills

  • Estimated bills

These billing widgets may display a selector so you can choose the provider to display. This selector may appear in widget configuration or on the billing dashboard.

Provider selector in billing widget
Provider selector in billing widget

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 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.

"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 ABIQUO-VCENTER_CLUSTER You could also deactivate a public cloud provider, such as azurecompute-arm. To do this, configure the UI with the following property in the client-config-custom.json file.

"client.dashboard.widgets.lastbills.excludedproviders": ["ABIQUO-VCENTER_CLUSTER", "azurecompute-arm"]

 

Configuration example

To configure the provider list:

  1. Go to the UI configuration folder.

    /var/www/html/ui/config

     

  2. Create or edit the client-config-custom.json file

  3. Add 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.

     

For more details, see https://abiquo.atlassian.net/wiki/spaces/doc/pages/311375516.

 

What are the default billing providers?

For dashboards with Abiquo private billing, the 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 .

 

Copyright © 2006-2024, Abiquo Holdings SL. All rights reserved