BILLmanager 5 Documentation

Configuring the product type. OpenStack

When you integrate BILLmanager with OpenStack, the billing system doesn't process some pre-defined parameters of the product type. The processing module allows to use additional resources that BILLmanager doesn't include by default. You should configure the" Virtual data-center" product type before creating a tariff plan:  

  • forbid users to modify the parameters which are not supported on the OpenStack side. If you install BILLmanager 5.136 or later, you don't need to modify the parameters;  
  • create additional resources for the tariff plan. 

Configuring product type parameters

To edit a parameter:

  1. Enter Products → Product Types.
  2. Select a product from the list → Options button.
  3. Select the parameter → Edit button.

For the "Operating system", "Virtual server template" and "Disk type" parameters, select the superuser in the Read access and Edit access fields.

Disable tariffs under Products → Product types → Options → highlight the IP address Tariffs. Then disable the "IP address" parameter from tariffs with the OpenStack processing module. To do this, select the IP address parameter → Edit button → uncheck the Allow tariff connection setup option.

Configuring product type add-on parameters

To limit the amount of resources each VDC can consume, create special resource limits in the content of the product type. Such resources can be divided into preset and additional resources. Preset resources - resources added to content by default. Additional resources - the processing module supports these resources, but you need to add them manually to the content of the product type. To do this, enter Products → Product types → Details→ Add.

The following is a list of pre-defined limits (their internal names are given in brackets):

  • Disk space (disc) — the maximum volume of hard disks and snapshots in an OpenStack project; 
  • Max. size of one disk (discsize); 
  • Number of disks (disclimit) — the maximum number of disks an OpenStack project; 
  • Number of snapshops (snapshotlimit) — the maximum number of snapshots in an OpenStack project; 
  • Number of CPUs (ncpu) — the maximum number of CPUs for each virtual machine (VM) in an OpenStack project; 
  • Number of virtual servers (vmlimit) — the maximum number of VMs in an OpenStack project; 
  • RAM (mem) — the maximum amount of RAM for each VM in an OpenStack project; 
  • Public IPv4 addresses — the maximum number of public IP addresses in an OpenStack project; 
  • Private network (privatenet) — the maximum number of private networks in an OpenStack project; 
  • The number of subnets (subnetlimit) — the maximum number of subnets in an OpenStack project; 
  • Number of ports per VDC (portlimit) — the maximum number of ports in an OpenStack project; 
  • Number of routers (routerlimit) — the maximum number of routers in an OpenStack project; 
  • Number of balancers (lblimit) — the maximum number of balancers in an OpenStack project.

The list of additional limits (the internal resource name is in parentheses):

  • Disk space for storage type (disc_xxx) — the maximum size of hard disks and project snapshots in an OpenStack project for disk type xxx. Use "hdd", "ssd" or Internal name of the type from the list of available drive types instead of xxx: Product types → Enumerations → Values;
  • Number of snapshots for storage type (snapshotlimit_xxx) — the maximum number of snapshots in an OpenStack project for disk type xxx. Use "hdd", "ssd" or Internal name of the type from the list of available drive types instead of xxx: Product types → Enumerations → Values;
  • Number of groups (grouplimit) — the maximum number of groups in an OpenStack project; 
  • Backups (backup) — the maximum size of backups in an OpenStack project; 
  • Number of backups (backuplimit) — the maximum number of backups in an OpenStack project; 
  • Key pairs (keypairlimit) — the maximum number of key pairs for an OpenStack project user; 
  • Security groups (firewalllimit) — the maximum number of security groups in an OpenStack project; 
  • Security rules (firewallrulelimit) — the maximum number of entries in security groups of an OpenStack project; 
  • Network disk capacity (share) — the maximum storage size for an OpenStack project; 
  • Number of snapshots in storage (sharenapshotlimit) — the maximum number of snapshots in the storage of an OpenStack project; 
  • Size of snapshots (sharesnapshot) — the maximum size occupied by the snapshots in the project storage; 
  • Number of storages (sharelimit) — the maximum number of storages for an OpenStack project; 
  • Storage networks (sharenetworklimit) — the maximum number of storage networks for the project.