aboutsummaryrefslogtreecommitdiffstats
path: root/yardstick/common/exceptions.py
diff options
context:
space:
mode:
authorchenjiankun <chenjiankun1@huawei.com>2018-03-14 09:41:01 +0000
committerchenjiankun <chenjiankun1@huawei.com>2018-03-15 06:56:37 +0000
commitc3f91fac56cd938c408c62ff44f5ff039b1fd8e6 (patch)
treebe2c5a64a4908fc5acc0ddf28e798720cbf01cb8 /yardstick/common/exceptions.py
parent4b8b674b65830a24230faed71e8d9a1048139c89 (diff)
Create API to get SUT information
JIRA: YARDSTICK-1072 We need to show SUT information in GUI. Change-Id: I40bcd513f3c6a443c82764687637ac5258b99584 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
Diffstat (limited to 'yardstick/common/exceptions.py')
-rw-r--r--yardstick/common/exceptions.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/yardstick/common/exceptions.py b/yardstick/common/exceptions.py
index a0edd3ba9..633b36f91 100644
--- a/yardstick/common/exceptions.py
+++ b/yardstick/common/exceptions.py
@@ -112,3 +112,11 @@ class ScenarioCreateSubnetError(YardstickException):
class ScenarioDeleteRouterError(YardstickException):
message = 'Delete Neutron Router Scenario failed'
+
+
+class MissingPodInfoError(YardstickException):
+ message = 'Missing pod args, please check'
+
+
+class UnsupportedPodFormatError(YardstickException):
+ message = 'Failed to load pod info, unsupported format'