Skip to content

Commit f4bb5f6

Browse files
authored
modify scripts
1 parent 5e33230 commit f4bb5f6

File tree

2 files changed

+77
-3
lines changed

2 files changed

+77
-3
lines changed

microservices/dlstreamer-pipeline-server/tests/scripts/common_library/dlsps_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# SPDX-License-Identifier: Apache-2.0
55
#
66

7-
import os, sys, time, json, yaml, subprocess, os.path, requests
7+
import os, sys, time, json, yaml, subprocess, os.path, requests,common
88
from collections import OrderedDict
99

1010
current_dir = os.path.abspath(os.path.dirname(__file__))

microservices/dlstreamer-pipeline-server/tests/scripts/configs/dlsps_config.json

Lines changed: 76 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,79 @@
1919
"source_conifg": "gstreamer",
2020
"check_logs" : "dlstreamer-pipeline-server",
2121
"dlsps_log_param" : ["number-streams=1","fps"]
22-
}
23-
}
22+
},
23+
"dlsps023": {
24+
"instance": "workload1",
25+
"source_conifg": "image_ingestor",
26+
"name": "evi_kpi_test_workload1_1",
27+
"type": "workload1",
28+
"type_r": "workload1_CPU",
29+
"image":"jpeg",
30+
"check_logs" : "dlstreamer-pipeline-server",
31+
"dlsps_log_param" : ["Pipeline","State to RUNNING"]
32+
},
33+
"dlsps024": {
34+
"instance": "workload1",
35+
"source_conifg": "image_ingestor",
36+
"name": "evi_kpi_test_workload1_1",
37+
"type": "workload1_GPU",
38+
"type_r": "workload1_GPU",
39+
"image":"jpeg",
40+
"check_logs" : "dlstreamer-pipeline-server",
41+
"dlsps_log_param" : ["Pipeline","State to RUNNING"]
42+
},
43+
"dlsps027": {
44+
"instance": "workload2",
45+
"source_conifg": "gstreamer",
46+
"name": "evi_kpi_test_workload2_1",
47+
"type": "workload2",
48+
"type_r": "workload2_CPU_h264",
49+
"check_logs" : "dlstreamer-pipeline-server",
50+
"dlsps_log_param" : ["Publishing message to topic: dlstreamer-pipeline-server","height","width","channels","img_handle"]
51+
},
52+
"dlsps028": {
53+
"instance": "workload2",
54+
"source_conifg": "gstreamer",
55+
"name": "evi_kpi_test_workload2_1",
56+
"type": "workload2_GPU",
57+
"type_r": "workload2_GPU_h264",
58+
"check_logs" : "dlstreamer-pipeline-server",
59+
"dlsps_log_param" : ["Publishing message to topic: dlstreamer-pipeline-server","height","width","channels","img_handle"]
60+
},
61+
"dlsps064": {
62+
"type": "video_instances_CPU",
63+
"type_r": "workload2",
64+
"name": "evi_kpi_test_workload2_1",
65+
"instance": "auto_source_gvadetect",
66+
"source_conifg": "gstreamer",
67+
"check_logs" : "dlstreamer-pipeline-server",
68+
"dlsps_log_param" : ["Publishing message to topic: dlstreamer_pipeline_results","height","width","channels","img_handle"]
69+
},
70+
"dlsps065": {
71+
"type": "video_instances_GPU",
72+
"type_r": "workload2",
73+
"name": "evi_kpi_test_workload2_1",
74+
"instance": "auto_source_gvadetect",
75+
"source_conifg": "gstreamer",
76+
"check_logs" : "dlstreamer-pipeline-server",
77+
"dlsps_log_param" : ["Publishing message to topic: dlstreamer_pipeline_results","height","width","channels","img_handle"]
78+
},
79+
"dlsps069": {
80+
"instance": "workload2",
81+
"source_conifg": "gstreamer",
82+
"name": "evi_kpi_test_workload2_1",
83+
"type": "workload2",
84+
"type_r": "workload2_CPU_rtsp",
85+
"check_logs" : "dlstreamer-pipeline-server",
86+
"dlsps_log_param" : ["height","width","img_handle","Publishing message to topic: dlstreamer-pipeline-server"]
87+
},
88+
"dlsps070": {
89+
"instance": "workload2",
90+
"source_conifg": "gstreamer",
91+
"name": "evi_kpi_test_workload2_1",
92+
"type": "workload2_GPU",
93+
"type_r": "workload2_GPU_rtsp",
94+
"check_logs" : "dlstreamer-pipeline-server",
95+
"dlsps_log_param" : ["height","width","img_handle","Publishing message to topic: dlstreamer-pipeline-server"]
96+
}
97+
}

0 commit comments

Comments
 (0)