aboutsummaryrefslogtreecommitdiffstats
path: root/tests/data/opt/plan/doctor.yaml
diff options
context:
space:
mode:
authorYujun Zhang <zhang.yujunz@zte.com.cn>2017-01-19 16:58:46 +0800
committerYujun Zhang <zhang.yujunz@zte.com.cn>2017-01-29 20:34:56 +0800
commitf2d021c72b38845954755bab54aa13b4b2aad725 (patch)
tree384b0aa7772facb1e8f836a4741f8151ef119901 /tests/data/opt/plan/doctor.yaml
parenta42b9a6ac576b11403955ff38df6cc58cf02abb7 (diff)
Refactor loader classes
- rename BaseLoader to YamlFileLoader as base class of QTIP specs loader - create an abstract BaseLoader - create FileLoader for logfile collector Change-Id: I0c992cd847fc0dce4fdd73a13c1cdbc406c84532 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
Diffstat (limited to 'tests/data/opt/plan/doctor.yaml')
-rw-r--r--tests/data/opt/plan/doctor.yaml37
1 files changed, 0 insertions, 37 deletions
diff --git a/tests/data/opt/plan/doctor.yaml b/tests/data/opt/plan/doctor.yaml
deleted file mode 100644
index 48b4c955..00000000
--- a/tests/data/opt/plan/doctor.yaml
+++ /dev/null
@@ -1,37 +0,0 @@
-name: doctor performance profiling
-description: create performance profile for OPNFV doctor notification time
-info:
- facility: local
- engineer: local
-config:
- driver: sample
- collector:
- - name: logfile
- logs:
- - filename: doctor_consumer.log
- # 2016-12-28 03:16:05,630 consumer.py 26 INFO doctor consumer notified at 1482894965.63
- patterns:
- - match: 'doctor consumer notified at \d+(\.\d+)?$'
- capture: notified consumer
- - filename: doctor_inspector.log
- # 2016-12-28 03:16:05,299 inspector.py 76 INFO event posted at 1482894965.3
- # 2016-12-28 03:16:05,299 inspector.py 56 INFO doctor mark vm(<Server: doctor_vm1>) error at 1482894965.3
- # 2016-12-28 03:16:05,506 inspector.py 66 INFO doctor mark host(overcloud-novacompute-1.ool-virtual1) down at 1482894965.51
- patterns:
- - match: 'event posted at \d+(\.\d+)?$'
- capture: posted event
- - match: 'doctor mark vm\(.*\) error at \d+(\.\d+)?$'
- capture: marked VM error
- - match: 'doctor mark host\(.*\) down at \d+(\.\d+)?$'
- capture: marked host down
- - filename: disable_network.log
- # doctor set host down at 1482894965.164096803
- patterns:
- - match: 'doctor set host down at \d+(\.\d+)?$'
- capture: set host down
- reporter:
- name: console
- # transform collected data into timeline
- transformer: timeline
-QPIs:
- - fake-qpi.yaml