Settings / Configurations

A Configuration is a group of general settings applicable per Client.

The default Configuration applies to all new clients by default.

In order to create a new configuration, click on the plus (+) button from the bottom right

../_images/create-configuration.png

You can edit a configuration by clicking on it’s name.

../_images/staffpanel-settings-configurations.png

A Configuration includes:

General tab

../_images/general-settings-configuration.png
  • General settings

    • Required credit for new services
      How much credit does a client need to create new services (negative values are also allowed). Once a client has reached this limit, he will no longer be able to create or upgrade resources.
    • Credit limit
      When the client reaches this limit, notifications, suspension and terminations rules apply Notifications can also be sent prior to reaching the limit. See below.
    • Company info
      Information to use in notifications and on Invoices Usually the name of your company
    • Notification sender name
      The From name for e-mails and notifications. Leaving this blank will use just the Notifications sender email.
    • Notifications sender email
      An e-mail address the notifications are sent from.
../_images/settings-configurations-general-billing.png
  • Billing
    Here you can configure auto generation and auto payment of invoices
    • Generate invoices
      When this is checked the billing cron job will generate invoices when services are due.
    • Enable automatic settlements
      When this is checked the billing cron will automatically settle client expenses by withdrawing funds from client credit. If Generate invoices is also checked then those invoice will be automatically paid from client credit.
    • Sequential numbering of paid invoices
      When this is checked paid invoices will be assinged a sequential number starting from Next paid invoice number. The Next paid invoice number format can be use to specify the format. The following placeholders are supported in the number format: {{ number }}, {{ year }}, {{ month }}, {{ day }}
../_images/configuration-credit-notifications.png
  • Credit Notifications
    If client should be notified about their credit balance. For example, a client can be notifier with 72 hours before his credit balance will be empty. A total of three notifications can be created with variable hours until the credit reaches zero.
../_images/settings-configurations-general-suspension.png
  • Suspension

    Enable or disable automatic OpenStack project suspension and send a notification to the Client when this happens. When suspension is enabled the client will be automatically suspended once up to date credit for the client is under the Credit limit specified at General section.

    Suspension can be delayed by checking Enable delay by hours or Enable delay until credit is used. If both of these are checked then client will be suspended when first delay is matched.

    Suspension is processed by a cron job in fleio backend so there may be a delay until clients are suspended based on how often the job is configured to run.

    • Enable automatic suspension
      When checked clients will be automatically suspended when Credit limit is reached.
    • Enable delay by hours
      When this is checked the client will not be suspended for the number of hours specified in Delay (hours} field even if the credit under Credit limit.
    • Enable delay until credit is used
      When this is checked the client will not be suspended until credit is under Credit limit by the amount specified in Delay (credit) field.
    • Notification template
      Here you can select the template used to send suspend notification to client.
../_images/configuration-termination.png
  • Termination
    Automatic termination. Experimental, not yet enabled.

Fleio allows having several configurations that you can assign per client.

For instance:

  • You may want to have some of the clients suspended automatically when they have depleted their pre-paid credit.
  • Other customers do not have to pre-pay for services they use and are allowed to have a negative credit, but will not be allowed to create more resources once their credit reaches -5,000 EUR.
  • You can also enable or disable notifications via email or end-user panel for each group of customers.

Openstack tab

Configure automatic creation of openstack services by checking “Auto create service”

../_images/configuration-openstack.png