Add "host_name_separator" variable to Context class 19/58819/1
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Mon, 21 May 2018 11:53:03 +0000 (12:53 +0100)
committerEmma Foley <emma.l.foley@intel.com>
Wed, 20 Jun 2018 16:46:02 +0000 (16:46 +0000)
commit8f783e2da6ceb7b0931bc1e09b7bf0c2be175d8f
tree27ffff8214fac714f588ee9b4586402870ae4d90
parentc87a5438961cba359629800b31df3ad7f656aff8
Add "host_name_separator" variable to Context class

This feature will provide Kubernetes context the ability to handle the
context name inside the class itself, providing to the developer an
abstraction of the possible naming limitations in Kubernetes. E.g.:
"dot" character in Pod names is no allowed [1].

[1] https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter/issues/58

JIRA: YARDSTICK-1188

Change-Id: I82121f970b550170357a443b6340be7900602a57
Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
(cherry picked from commit a2ee61016721386b40caa4e2d72f61be8adec94a)
yardstick/benchmark/contexts/base.py
yardstick/benchmark/contexts/heat.py
yardstick/benchmark/contexts/kubernetes.py
yardstick/benchmark/contexts/node.py
yardstick/benchmark/contexts/standalone/ovs_dpdk.py
yardstick/benchmark/contexts/standalone/sriov.py
yardstick/benchmark/core/task.py
yardstick/common/exceptions.py
yardstick/tests/unit/benchmark/contexts/test_base.py