aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/common
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-07-19 09:09:23 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-07-19 09:09:23 +0000
commit4e058b76a3f9edd26b60f2eeaf4a4ff95e7aa0a6 (patch)
treec763b3705dcd087d02388b1b749c04ce66b51053 /yardstick/common
parent5ae93eed050cad404c9505037a1e8362e571173c (diff)
parentc8facac8b67176e61ab2e00b312cc2deafe57b79 (diff)
Merge "Add "imagePullPolicy" parameter in Kubernetes container"
Diffstat (limited to 'yardstick/common')
-rw-r--r--yardstick/common/exceptions.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yardstick/common/exceptions.py b/yardstick/common/exceptions.py
index 9397d4772..1f749adc1 100644
--- a/yardstick/common/exceptions.py
+++ b/yardstick/common/exceptions.py
@@ -263,6 +263,10 @@ class KubernetesContainerPortNotDefined(YardstickException):
message = 'Container port not defined in "%(port)s"'
+class KubernetesContainerWrongImagePullPolicy(YardstickException):
+ message = 'Image pull policy must be "Always", "IfNotPresent" or "Never"'
+
+
class ScenarioCreateNetworkError(YardstickException):
message = 'Create Neutron Network Scenario failed'