Use context name instead of key_uuid 47/52347/14
authorEmma Foley <emma.l.foley@intel.com>
Fri, 16 Feb 2018 15:22:12 +0000 (15:22 +0000)
committerEmma Foley <emma.l.foley@intel.com>
Thu, 1 Mar 2018 15:02:27 +0000 (15:02 +0000)
commit5c2824d8e184a3ff63a52e7c7cca7b4e6f0c0222
treea731956bfdef110f6a601c35e5001093d0120b4f
parent4a21b4a434d5a60cb57dce576365dc6a9a6825b5
Use context name instead of key_uuid

context.key_uuid is only used as a suffix for the key files.
There is already a unique ID associated with a the context;
the context name includes a task ID, which is a UUID.

This patch sets context.key_uuid to to context.name instead of
generating a separate UUID

As a result, get_short_key_uuid() is not needed.

JIRA: YARDSTICK-1028
Change-Id: Id175061d6cfe23a068bb3d12ce176c1f176e8236
Signed-off-by: Emma Foley <emma.l.foley@intel.com>
yardstick/benchmark/contexts/heat.py
yardstick/orchestrator/heat.py
yardstick/tests/unit/benchmark/contexts/test_heat.py