aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/common
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-07-23 07:56:17 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-07-23 07:56:17 +0000
commitead6f55e0cef44a601902f653f5c0f304a3dc01a (patch)
tree5d1c9e549ae6f827b2038f5059c7aaeac9db8791 /yardstick/common
parentc581a83ab7e47e71658cb79ac8d25c024742d0e5 (diff)
parent02f4147b37e6ed4fb8a0f7f344e3b9b50a06b0b2 (diff)
Merge "Accept line rate percentage or fps a initial rate for IXIA RFC2544"
Diffstat (limited to 'yardstick/common')
-rw-r--r--yardstick/common/exceptions.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/yardstick/common/exceptions.py b/yardstick/common/exceptions.py
index cbb294989..2e6cbdd7b 100644
--- a/yardstick/common/exceptions.py
+++ b/yardstick/common/exceptions.py
@@ -85,7 +85,6 @@ class InfluxDBConfigurationMissing(YardstickException):
class YardstickBannedModuleImported(YardstickException):
- # pragma: no cover
message = 'Module "%(module)s" cannnot be imported. Reason: "%(reason)s"'
@@ -95,7 +94,6 @@ class PayloadMissingAttributes(YardstickException):
class HeatTemplateError(YardstickException):
- """Error in Heat during the stack deployment"""
message = ('Error in Heat during the creation of the OpenStack stack '
'"%(stack_name)s"')
@@ -108,6 +106,10 @@ class TrafficProfileNotImplemented(YardstickException):
message = 'No implementation for traffic profile %(profile_class)s.'
+class TrafficProfileRate(YardstickException):
+ message = 'Traffic profile rate must be "<number>[fps|%]"'
+
+
class DPDKSetupDriverError(YardstickException):
message = '"igb_uio" driver is not loaded'