diff options
author | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-02-09 10:12:39 +0800 |
---|---|---|
committer | Yujun Zhang <zhang.yujunz@zte.com.cn> | 2017-02-15 06:54:40 +0800 |
commit | 0f3ad6f2db26fb91190e47c89f77fb59b7601b84 (patch) | |
tree | 8b855519dfb53d0abdd96a6eb93f3463df35817b /qtip/base | |
parent | 6add7fcac82f9b807e71fe84d16c673682d82327 (diff) |
Refactoring collector initialization in plan loader
- move ClassProps to module
- collectors should be array in plan definition
Change-Id: I37d85dbc977c91aa1bb81de45b5e1c41660e6d1f
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'qtip/base')
-rw-r--r-- | qtip/base/constant.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/qtip/base/constant.py b/qtip/base/constant.py index 39572040..100ec009 100644 --- a/qtip/base/constant.py +++ b/qtip/base/constant.py @@ -46,29 +46,5 @@ class SpecProp(BaseProp): WORKLOADS = 'workloads' -class PlanProp(BaseProp): - # plan - INFO = 'info' - - FACILITY = 'facility' - ENGINEER = 'engineer' - - CONFIG = 'config' - - DRIVER = 'driver' - COLLECTOR = 'collector' - REPORTER = 'reporter' - - QPIS = 'QPIs' - - -class CollectorProp(BaseProp): - LOGS = 'logs' - FILENAME = 'filename' - GREP = 'grep' - REGEX = 'regex' - CAPTURE = 'capture' - - class ReporterBaseProp(BaseProp): TRANSFORMER = 'transformer' |