Add "host_name_separator" variable to Context class 45/57645/1
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Mon, 21 May 2018 11:53:03 +0000 (12:53 +0100)
committerRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
Mon, 21 May 2018 13:11:31 +0000 (14:11 +0100)
commita2ee61016721386b40caa4e2d72f61be8adec94a
treebba343e0954a220ec0f6c24121d08965f1e20e4a
parentb7f867ba873806a10972108fa19d26b2ae19fa58
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>
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