1
0
mirror of https://github.com/gryf/mistral-evacuate.git synced 2026-03-25 03:43:39 +01:00

Separate geting flavors and filtering into separe tasks

Also minimalize numbers of calls to nova API

Signed-off-by: Dawid Deja <dawid.deja@intel.com>
This commit is contained in:
Dawid Deja
2016-02-03 18:24:07 +01:00
parent bcafa3f466
commit 44c00b9ca4
6 changed files with 79 additions and 76 deletions

View File

@@ -18,7 +18,7 @@ Installation
mistral.actions =
custom.filter_vm = filter_vm_action:FilterVmAction
custom.evacuate = evacuate_vm_action:EvacuateVmAction
custom.find_flavors = find_flavors_by_extra_spec:FindFlavorsByExtraSpecs
to ``setup.cfg`` file under Mistral repository
#. Run db-sync tool via either
@@ -47,7 +47,10 @@ Installation
"search_opts": {
"host": "compute-hostanme"
},
"on_shared_storage": false
"on_shared_storage": false,
"flavor_extra_specs": {
"evacuation:evacuate": true
}
}
#. Trigger the action via: