This article describes the peculiarities of configuring a tariff when OpenStack is selected as the processing module. For general configuration principles, see General information on how to add a new tariff.
Peculiarities of configuring a tariff
Under Advanced settings, specify the following parameters:
- Username template - the template by which the Virtual Data Center (VDC) administrator's name will be built in OpenStack. The use of macros is available in the field:
- "@USERNAME@" — username of the current account user;
- "@DOMAIN@" — service domain name;
- "@ID@" — unique service ID;
- "@ACCOUNT_ID@" — service owner's account ID.
For example, in the Username template field, the value "user@ID@” is entered. The client ordered a shared hosting service and it was assigned the ID of "117". Under these conditions, an account with the name (login) "user117" will be created in OpenStack for this service.
- VDC name template - the template used to form the OpenStack project name for the service ordered. The use of macros is available in the field:
- "@ID@" — unique service ID;
- "@USERNAME@" — username of the current account user;
- "@ACCOUNT_ID@" — service owner's account ID.
For example, in the VDC name template field, the value "@USERNAME@vdc" is entered. The username is formed using the template from the previous example - "user@ID@". The client ordered a virtual data center service and it was assigned the ID of "117". Under these conditions, a project named "user117vdc" will be created on the OpenStack side for this service.
Additional settings