接口功能介绍
检测历史列表
接口约束
上海15
URI
GET /v4/cwai/diagnosis/list
路径参数
无
Query参数
参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|---|
diagnosisID | 否 | String | 检测历史参数diagnosisID | 111 | |
resourceGroupName | 否 | String | 检测历史参数resourceGroupName | demo | |
nodeID | 否 | String | 检测历史参数nodeID | ss-nl3qmchbxc6izcyekxgglpiklnn7 | |
status | 否 | String | 检测历史参数status | 检测中 | |
nodeType | 否 | String | 检测历史参数nodeType | Nvidia | |
type | 否 | String | 检测历史参数ty | server | |
pageNo | 否 | String | pageNo | 1 | |
pageNum | 否 | String | pageNum | 15 |
请求参数
请求头header参数
参数 | 是否必填 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|---|
regionID | 是 | String | 区域唯一ID | 81f7728662dd11rc547210155d |
请求体body参数
无
响应参数
参数 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|
currentCount | String | 本次查询返回的资源组个数 | 10 | |
result | Array of Objects | 返回的资源组详情 | result | |
totalCount | Integer | 符合条件的资源组总数 | 10 | |
totalPage | Integer | 总页数 | 1 |
表 result
参数 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|
accountID | String | 资源id | 78a8039b7f3c4d26945784e0b1c542af | |
beginTime | String | 诊断开始时间 | 2024-01-02 15:04:05 | |
checkItemList | Array of Objects | 检测项清单 | checkItemList | |
diagnosisID | Integer | 诊断id | 11 | |
duration | String | 诊断耗时 | 00:00:05 | |
endTime | String | 诊断结束时间 | 2024-01-02 16:04:05 | |
nodeType | String | 诊断内容:节点类型,昇腾Huawei/英伟达Nvidia | Nvidia | |
nodes | Array of Objects | 资源组包含的节点详情 | nodes | |
properties | Object | 网络测试项 | properties | |
regionID | String | 区域ID | 81f7728662dd11ec810800155d307d5b | |
resourceGroupID | String | 资源组ID | 5f082074-149e-41c1-a6f6-a5bd940465e5 | |
resourceGroupName | String | 资源组名称 | zyz1 | |
statusMsg | String | 身份信息 | 检测终止 | |
type | String | 诊断类型 | server | |
userID | String | 用户id | 50bb284c9b1b4256a49ecd65dd283su1 |
表 checkItemList
参数 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|
config | String | 自定义检测项配置数组 | config | |
name | String | 检测项名称 | MemoryCapacity |
表 properties
参数 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|
cclModel | String | 测试内容配置:通讯模型(ccl) | all_gather_test | |
cclType | String | 测试内容配置:通讯库类别(nccl/hccl,ccl) | hccl | |
gpuNums | Integer | 测试内容配置:单节点待测GPU数量(8,ccl) | 8 | |
isBidirectional | Integer | 测试内容配置:测试方向(单向-0/双向-1,RDMA) | 0 | |
isSharpe | Integer | 测试内容配置:(nccl)SHARP(1开启,0未开启)(ccl) | 0 | |
networkType | String | 测试内容配置:网络类型(IB\RoCE,RDMA) | RoCE | |
nodePasswd | String | 测试目标:节点密码(ccl,RDMA) | xx | |
nodePort | Integer | 测试目标:节点端口(RDMA) | 9001 | |
testType | String | 测试内容配置:测试类型(带宽/时延,RDMA)latency, bandwidth | bandwidth |
表 nodes
参数 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|
RDMAID | String | RDMA网卡ID | mlx5_0 | |
baseline | Boolean | 基线 | true | |
nodeID | String | 节点ID | ss-8mg7feqbried5b5xnnqmgdeplazc | |
nodeName | String | 节点名称 | jd01 |
表 config
参数 | 参数类型 | 说明 | 示例 | 下级对象 |
---|---|---|---|---|
name | String | 检测项子名称 | zx26 | |
value | String | 检测项自定义配置值 | 10 |
枚举参数
无
请求示例
请求url
GET https://cwai-global.ctapi.ctyun.cn/v4/cwai/diagnosis/list
Content-Type:application/json
请求头header
regionID:81f7728662dd11ec810800155d307d5b
请求体body
无
响应示例
HTTP/1.1 200 OK
Content-Type:application/json
{
"statusCode": 800,
"returnObj": {
"currentCount": 10,
"totalCount": 91,
"totalPage": 10,
"result": [
{
"userID": "41bb284c9b1b4256a49ecd58dd283dd1",
"accountID": "78a6039b5f3c4d26945784e0b1c799af",
"type": "server",
"regionID": "81f7728662dd11ec810800155d307d5b",
"nodeType": "Nvidia",
"resourceGroupID": "5f082074-149e-41c1-a6f6-a5bd940465e5",
"resourceGroupName": "xuyy_iaas_nv6208",
"nodes": [
{
"nodeID": "ss-8mg7feqbried5b5xnnqmgdeplazc",
"nodeName": "xuyy-t17-7182",
"baseline": true
}
],
"properties": {
"gpuNums": 0,
"isSharpe": 0,
"nodePort": 0,
"isBidirectional": 0
},
"diagnosisID": 1893,
"statusMsg": "检测终止",
"beginTime": "2024-07-26 09:44:59"
},
{
"userID": "41bb284c9b1b4256a49ecd58dd283dd1",
"accountID": "78a6039b5f3c4d26945784e0b1c799af",
"type": "server",
"regionID": "81f7728662dd11ec810800155d307d5b",
"nodeType": "Nvidia",
"resourceGroupID": "5f082074-149e-41c1-a6f6-a5bd940465e5",
"resourceGroupName": "xuyy_iaas_nv6208",
"nodes": [
{
"nodeID": "ss-8mg7feqbried5b5xnnqmgdeplazc",
"nodeName": "xuyy-t17-7182"
}
],
"properties": {
"gpuNums": 0,
"isSharpe": 0,
"nodePasswd": "J0ja1/Bma/cnHRyJtefZQg==",
"nodePort": 0,
"isBidirectional": 0
},
"diagnosisID": 1892,
"statusMsg": "检测终止",
"beginTime": "2024-07-25 17:19:13",
"endTime": "2024-07-25 17:19:14",
"duration": "00:00:01"
},
{
"userID": "41bb284c9b1b4256a49ecd58dd283dd1",
"accountID": "78a6039b5f3c4d26945784e0b1c799af",
"type": "server",
"regionID": "81f7728662dd11ec810800155d307d5b",
"nodeType": "Nvidia",
"resourceGroupID": "5f082074-149e-41c1-a6f6-a5bd940465e5",
"resourceGroupName": "xuyy_iaas_nv6208",
"nodes": [
{
"nodeID": "ss-8mg7feqbried5b5xnnqmgdeplazc",
"nodeName": "xuyy-t17-7182"
}
],
"properties": {
"gpuNums": 0,
"isSharpe": 0,
"nodePasswd": "J0ja1/Bma/cnHRyJtefZQg==",
"nodePort": 0,
"isBidirectional": 0
},
"diagnosisID": 1891,
"statusMsg": "检测成功",
"beginTime": "2024-07-25 17:18:32",
"endTime": "2024-07-25 17:18:37",
"duration": "00:00:05"
},
{
"userID": "41bb284c9b1b4256a49ecd58dd283dd1",
"accountID": "78a6039b5f3c4d26945784e0b1c799af",
"type": "server",
"regionID": "81f7728662dd11ec810800155d307d5b",
"nodeType": "Nvidia",
"resourceGroupID": "5f082074-149e-41c1-a6f6-a5bd940465e5",
"resourceGroupName": "xuyy_iaas_nv6208",
"nodes": [
{
"nodeID": "ss-8mg7feqbried5b5xnnqmgdeplazc",
"nodeName": "xuyy-t17-7182"
}
],
"properties": {
"gpuNums": 0,
"isSharpe": 0,
"nodePasswd": "J0ja1/Bma/cnHRyJtefZQg==",
"nodePort": 0,
"isBidirectional": 0
},
"diagnosisID": 1890,
"statusMsg": "检测成功",
"beginTime": "2024-07-25 17:17:35",
"endTime": "2024-07-25 17:17:40",
"duration": "00:00:05"
},
{
"userID": "41bb284c9b1b4256a49ecd58dd283dd1",
"accountID": "78a6039b5f3c4d26945784e0b1c799af",
"type": "server",
"regionID": "81f7728662dd11ec810800155d307d5b",
"nodeType": "Nvidia",
"resourceGroupID": "5f082074-149e-41c1-a6f6-a5bd940465e5",
"resourceGroupName": "xuyy_iaas_nv6208",
"nodes": [
{
"nodeID": "ss-8mg7feqbried5b5xnnqmgdeplazc",
"nodeName": "xuyy-t17-7182"
}
],
"properties": {
"gpuNums": 0,
"isSharpe": 0,
"nodePasswd": "J0ja1/Bma/cnHRyJtefZQg==",
"nodePort": 0,
"isBidirectional": 0
},
"diagnosisID": 1889,
"statusMsg": "检测成功",
"beginTime": "2024-07-25 17:17:16",
"endTime": "2024-07-25 17:17:21",
"duration": "00:00:05"
},
{
"userID": "41bb284c9b1b4256a49ecd58dd283dd1",
"accountID": "78a6039b5f3c4d26945784e0b1c799af",
"type": "server",
"regionID": "81f7728662dd11ec810800155d307d5b",
"nodeType": "Nvidia",
"resourceGroupID": "5f082074-149e-41c1-a6f6-a5bd940465e5",
"resourceGroupName": "xuyy_iaas_nv6208",
"nodes": [
{
"nodeID": "ss-8mg7feqbried5b5xnnqmgdeplazc",
"nodeName": "xuyy-t17-7182"
}
],
"properties": {
"gpuNums": 0,
"isSharpe": 0,
"nodePasswd": "J0ja1/Bma/cnHRyJtefZQg==",
"nodePort": 0,
"isBidirectional": 0
},
"diagnosisID": 1888,
"statusMsg": "检测成功",
"beginTime": "2024-07-25 17:16:54",
"endTime": "2024-07-25 17:16:59",
"duration": "00:00:05"
},
{
"userID": "41bb284c9b1b4256a49ecd58dd283dd1",
"accountID": "78a6039b5f3c4d26945784e0b1c799af",
"type": "server",
"regionID": "81f7728662dd11ec810800155d307d5b",
"nodeType": "Nvidia",
"resourceGroupID": "5f082074-149e-41c1-a6f6-a5bd940465e5",
"resourceGroupName": "xuyy_iaas_nv6208",
"nodes": [
{
"nodeID": "ss-8mg7feqbried5b5xnnqmgdeplazc",
"nodeName": "xuyy-t17-7182"
}
],
"properties": {
"gpuNums": 0,
"isSharpe": 0,
"nodePasswd": "J0ja1/Bma/cnHRyJtefZQg==",
"nodePort": 0,
"isBidirectional": 0
},
"diagnosisID": 1887,
"statusMsg": "检测成功",
"beginTime": "2024-07-25 17:16:28",
"endTime": "2024-07-25 17:16:33",
"duration": "00:00:05"
},
{
"userID": "41bb284c9b1b4256a49ecd58dd283dd1",
"accountID": "78a6039b5f3c4d26945784e0b1c799af",
"type": "server",
"regionID": "81f7728662dd11ec810800155d307d5b",
"nodeType": "Nvidia",
"resourceGroupID": "5f082074-149e-41c1-a6f6-a5bd940465e5",
"resourceGroupName": "xuyy_iaas_nv6208",
"nodes": [
{
"nodeID": "ss-8mg7feqbried5b5xnnqmgdeplazc",
"nodeName": "xuyy-t17-7182"
}
],
"properties": {
"gpuNums": 0,
"isSharpe": 0,
"nodePasswd": "J0ja1/Bma/cnHRyJtefZQg==",
"nodePort": 0,
"isBidirectional": 0
},
"diagnosisID": 1886,
"statusMsg": "检测成功",
"beginTime": "2024-07-25 17:15:37",
"endTime": "2024-07-25 17:15:47",
"duration": "00:00:10"
},
{
"userID": "41bb284c9b1b4256a49ecd58dd283dd1",
"accountID": "78a6039b5f3c4d26945784e0b1c799af",
"type": "server",
"regionID": "81f7728662dd11ec810800155d307d5b",
"nodeType": "Huawei",
"resourceGroupID": "dd063be4-b86c-45f1-8000-a1d30c1563ff",
"resourceGroupName": "jytest2",
"nodes": [
{
"nodeID": "ss-b4ugtb2tfbh04prjspujq3jobziy",
"nodeName": "testjy"
}
],
"properties": {
"gpuNums": 0,
"isSharpe": 0,
"nodePasswd": "J0ja1/Bma/cnHRyJtefZQg==",
"nodePort": 0,
"isBidirectional": 0
},
"diagnosisID": 1884,
"statusMsg": "检测成功",
"beginTime": "2024-07-16 09:48:39",
"endTime": "2024-07-16 09:49:42",
"duration": "00:01:03"
},
{
"userID": "41bb284c9b1b4256a49ecd58dd283dd1",
"accountID": "78a6039b5f3c4d26945784e0b1c799af",
"type": "ccl",
"regionID": "81f7728662dd11ec810800155d307d5b",
"nodeType": "Huawei",
"resourceGroupID": "dd063be4-b86c-45f1-8000-a1d30c1563ff",
"resourceGroupName": "jytest2",
"nodes": [
{
"nodeID": "ss-b4ugtb2tfbh04prjspujq3jobziy",
"nodeName": "testjy"
}
],
"properties": {
"cclType": "hccl",
"cclModel": "all_gather_test",
"gpuNums": 8,
"isSharpe": 0,
"nodePasswd": "J0ja1/Bma/cnHRyJtefZQg==",
"nodePort": 9001,
"isBidirectional": 0
},
"diagnosisID": 1879,
"statusMsg": "检测成功",
"beginTime": "2024-07-12 11:20:55",
"endTime": "2024-07-12 11:22:22",
"duration": "00:01:27"
}
]
}
}
状态码
请参考 状态码
错误码
请参考 错误码