Heat: use pkey from string instead of key_filename 33/42933/2
authorRoss Brattain <ross.b.brattain@intel.com>
Fri, 8 Sep 2017 18:32:01 +0000 (11:32 -0700)
committerRoss Brattain <ross.b.brattain@intel.com>
Mon, 25 Sep 2017 15:30:20 +0000 (08:30 -0700)
commit3f533ff0264530d16de0db863c79da57e4de0060
treeec2c551467fdea7bc8c71e44837b992b10662a09
parentf266b33ff501b6ef04ab4cd0dcdc6858581dbaf3
Heat: use pkey from string instead of key_filename

Instead of using a key_filename for Heat, we can
read the key as a string directly using pkg_resources.resource_string()

This will enable us to save Heat stacks as pod.yaml, because
we can embedded the key into the pod.yaml directly.

Change-Id: I16baaba17dab845ee0846f97678733bae33cb463
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com>
tests/unit/benchmark/contexts/test_heat.py
yardstick/benchmark/contexts/heat.py
yardstick/benchmark/scenarios/networking/vnf_generic.py