Heat: use pkey from string instead of key_filename 77/41877/3
authorRoss Brattain <ross.b.brattain@intel.com>
Fri, 8 Sep 2017 18:32:01 +0000 (11:32 -0700)
committerEdward MacGillivray <edward.s.macgillivray@intel.com>
Mon, 18 Sep 2017 23:13:09 +0000 (16:13 -0700)
commitb84509793a3bc776220de892fd715dbced04da4e
treea37f655c0b079911633b7a1f40662d596df0f7a2
parent468aeaf9fe6a5cd0d350f566ed7b9216efc752b6
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