heat context support affinity and anti-affinity 97/28897/10
authorrexlee8776 <limingjiang@huawei.com>
Tue, 14 Feb 2017 02:53:25 +0000 (02:53 +0000)
committerrexlee8776 <limingjiang@huawei.com>
Sun, 26 Feb 2017 16:32:42 +0000 (16:32 +0000)
commite05cd29cc62e52e8e78e949ab66c82e38e303ca8
tree6ba3daaa77042058eea85ab215d365d8b62d17c2
parent8fdfd0f7ae809966e946b9425838e5c2c2fad215
heat context support affinity and anti-affinity

JIRA: YARDSTICK-566

Current Heat context support affinity and availability arguments
but not support affinity and anti-affinity.
Enhance Heat context to support affinity and anti-affinity:
1. can create heat server group with affinity/anti-affinity
2. each server could be specified which server group they are in

Change-Id: I46e7376fd116c6e109cb5dcb1c168460918e6d43
Signed-off-by: rexlee8776 <limingjiang@huawei.com>
tests/unit/benchmark/contexts/test_heat.py
tests/unit/benchmark/contexts/test_model.py
yardstick/benchmark/contexts/heat.py
yardstick/benchmark/contexts/model.py
yardstick/orchestrator/heat.py