-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing test case configuration and platform configuration.
Signed-off-by: Li Hua <guizhao.lh@alibaba-inc.com>
- Loading branch information
1 parent
89f1222
commit 5812398
Showing
8 changed files
with
98 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "cpu-test", | ||
"description": "Check CPU information", | ||
"type": "auto", | ||
"tags": ["manufacture", "delivery", "pa", "power", "emc"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "memory-test", | ||
"description": "Check memory and pattern test", | ||
"type": "auto", | ||
"tags": ["manufacture", "delivery", "pa", "power", "emc"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "oob-test", | ||
"description": "l2 mgmt switch test", | ||
"type": "auto", | ||
"tags": ["manufacture", "delivery", "pa"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "rtc-test", | ||
"description": "Check RTC function", | ||
"type": "auto", | ||
"tags": ["manufacture", "delivery", "pa", "emc"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "sensor-test", | ||
"description": "Check sensors health", | ||
"type": "auto", | ||
"tags": ["manufacture", "delivery", "pa", "power", "emc"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "ssd-test", | ||
"description": "Check SSD capacity", | ||
"type": "auto", | ||
"tags": ["manufacture", "delivery", "pa", "emc", "power"] | ||
} |
52 changes: 52 additions & 0 deletions
52
src/sonic-pit/pit-sysdiag/config/platform/x86_64-alibaba_as14-40d-cl-r0/case_config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"fan_info":{ | ||
"position": "bmc", | ||
"count": 6, | ||
"direction": "in", | ||
"ratio_target": [10, 80, 20], | ||
"speed_tolerance": 1000, | ||
"speed_max": 20000, | ||
"speed_min": 0, | ||
"motor_count": 2 | ||
}, | ||
"psu_info":{ | ||
"position": "bmc", | ||
"count": 2, | ||
"in_power_min": 0, | ||
"in_power_max": 0, | ||
"in_vol_min": 0, | ||
"in_vol_max": 0, | ||
"in_curr_min": 0, | ||
"in_curr_max": 0, | ||
"out_power_min": 0, | ||
"out_power_max": 0, | ||
"out_vol_min": 0, | ||
"out_vol_max": 0, | ||
"out_curr_min": 0, | ||
"out_curr_max": 0 | ||
}, | ||
"cpu_info": { | ||
"Model name": "Intel(R) Xeon(R) CPU D-1533N @ 2.10GHz", | ||
"BogoMIPS": 4189.0, | ||
"CPU(s)": 6, | ||
"CPU MHz": 2100.0 | ||
}, | ||
"memory_free_size": 100, | ||
"rtc_info":{ | ||
"delay_time": 5, | ||
"max_time_diff": 1 | ||
}, | ||
"ssd_test_size": "100M", | ||
"ssd_bom": [ | ||
{ | ||
"model": "AF2MA31DTDLT240A", | ||
"size": "240 GB" | ||
}, | ||
{ | ||
"model": "MTFDDAV240TDS", | ||
"size": "240 GB" | ||
} | ||
], | ||
"server_ip": "192.0.0.3", | ||
"bmc_ip": "240.1.1.1" | ||
} |
10 changes: 10 additions & 0 deletions
10
src/sonic-pit/pit-sysdiag/config/platform/x86_64-alibaba_as14-40d-cl-r0/platform_config.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"test_cases": [ | ||
"fan_tc", | ||
"psu_tc", | ||
"cpu_tc", | ||
"memory_tc", | ||
"rtc_tc", | ||
"sensor_tc" | ||
] | ||
} |