aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/common
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>2018-05-17 14:29:21 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-05-17 14:29:21 +0000
commit111944995df899b3895a74fb7de3066d4f4a7bd3 (patch)
treec07d8c6bf47b8ac75bbd9af04594ab79bb3e9aed /yardstick/common
parentd984fd894a50d1aebb4608c0efc87a549f003215 (diff)
parenta833a12d6fea8bc02f01f6ed8f0f84670e924b77 (diff)
Merge "Parse "dispatcher" options correctly from InfluxDB client"
Diffstat (limited to 'yardstick/common')
-rw-r--r--yardstick/common/exceptions.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/yardstick/common/exceptions.py b/yardstick/common/exceptions.py
index 36c7eef05..c7ba56268 100644
--- a/yardstick/common/exceptions.py
+++ b/yardstick/common/exceptions.py
@@ -63,6 +63,11 @@ class FunctionNotImplemented(YardstickException):
'"%(class_name)" class.')
+class InfluxDBConfigurationMissing(YardstickException):
+ message = ('InfluxDB configuration is not available. Add "influxdb" as '
+ 'a dispatcher and the configuration section')
+
+
class YardstickBannedModuleImported(YardstickException):
# pragma: no cover
message = 'Module "%(module)s" cannnot be imported. Reason: "%(reason)s"'