Add "restartPolicy" parameter in Kubernetes policy
[yardstick.git] / yardstick / common / exceptions.py
index 50def06..018654a 100644 (file)
@@ -237,6 +237,10 @@ class KubernetesNetworkObjectKindMissing(YardstickException):
     message = 'Kubernetes kind "Network" is not defined'
 
 
+class KubernetesWrongRestartPolicy(YardstickException):
+    message = 'Restart policy "%(rpolicy)s" is not valid'
+
+
 class ScenarioCreateNetworkError(YardstickException):
     message = 'Create Neutron Network Scenario failed'