
This patch adds a before_end() method to the resource plugin. It is called from the manager at the before_end_lease event. An actual action is configurable for each resource plugin. The physical host plugin currently supports 'snapshot'. This patch also renames the API parameter 'before_end_notification' 'before_end_date' because actions other than notification get to use this parameter. Change-Id: Ifdb42e431f2b5134ed8a720ae040486aee2e4acc Implements: blueprint on-end-options
19 lines
1.0 KiB
YAML
19 lines
1.0 KiB
YAML
---
|
|
features:
|
|
- Blazar gets to support before_end actions. Actions like notification and
|
|
snapshot can be taken at a specific time prior to the end of a lease.
|
|
The time which triggers actions can be specified by the API parameter
|
|
*before_end_date* and the default interval can be configured by a new
|
|
configuration option *minutes_before_end_lease* in the [manager] section.
|
|
An action *snapshot* is currently supported by the physical host plugin.
|
|
The action can be configured by the new configuration option *before_end*
|
|
in the [physical:host] section.
|
|
upgrade:
|
|
- The API parameter *before_end_notification* has been renamed
|
|
*before_end_date* which is used for setting the time for triggering actions
|
|
before the end of a lease.
|
|
- The configuration option *notify_hours_before_lease_end* in the [manager]
|
|
section has been removed. Use a new configuration option
|
|
*minutes_before_end_lease* instead. The default value for the configuration
|
|
option has been changed from 48 hours to 60 minutes.
|