Merge "Replace assert statements in PipelineRules"
[yardstick.git] / yardstick / common / exceptions.py
index 2e6cbdd..48f15c0 100644 (file)
@@ -212,6 +212,10 @@ class WaitTimeout(YardstickException):
     message = 'Wait timeout while waiting for condition'
 
 
+class PktgenActionError(YardstickException):
+    message = 'Error in "%(action)s" action'
+
+
 class KubernetesApiException(YardstickException):
     message = ('Kubernetes API errors. Action: %(action)s, '
                'resource: %(resource)s')
@@ -398,5 +402,9 @@ class AclMissingActionArguments(YardstickException):
                '[action=%(action_name)s parameter=%(action_param)s]')
 
 
-class AclUknownActionTemplate(YardstickException):
+class AclUnknownActionTemplate(YardstickException):
     message = 'No ACL CLI template found for "%(action_name)s" action'
+
+
+class InvalidMacAddress(YardstickException):
+    message = 'Mac address "%(mac_address)s" is invalid'