Create flavor from heat context 01/33001/32
authorDanielMartinBuckley <daniel.m.buckley@intel.com>
Wed, 5 Apr 2017 10:20:46 +0000 (11:20 +0100)
committerRoss Brattain <ross.b.brattain@intel.com>
Fri, 12 May 2017 21:01:54 +0000 (21:01 +0000)
commitd002db9a10fed7cdba2cc43a8c064864250994ce
tree5cda13ea59ad732c2cd047ebfb0468e6ee425aef
parent344921452e405189b8b5ec0697bf5d1ca88eb8ed
Create flavor from heat context

JIRA: YARDSTICK-582

Create a customizable flavor via heat context. All heat parameters
are configurable including Core Affinity. The default flavor name
is XXXX-flavor where XXXX is stackname. Flavor attributes are taken
from the heat context file. If a flavor attribute is not used it
takes default attribute value. If flavor name is not specified it
uses the server name + "-flavor" or stack-name + "-flavor".

Compute node specific attributes are configurable via "extra_specs"
attribute. See
https://docs.openstack.org/admin-guide/compute-flavors.html for
details.

Change-Id: If4015970b889b0b95bfa8eba9491ebf31e92f2c7
Signed-off-by: DanielMartinBuckley <daniel.m.buckley@intel.com>
tests/unit/benchmark/contexts/test_heat.py
tests/unit/benchmark/contexts/test_model.py
tests/unit/orchestrator/test_heat.py
yardstick/benchmark/contexts/heat.py
yardstick/benchmark/contexts/model.py
yardstick/orchestrator/heat.py