CreateNetTestTask
Creates a network test task.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
eflo:CreateNetTestTask |
create |
*Cluster
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| NetTestType |
string |
No |
The network test type. Examples: DelayTest for latency testing, TrafficTest for traffic testing, and CommTest for communication library testing. |
DelayTest |
| Port |
string |
No |
The test port number. This parameter is required. If you do not specify this parameter, the API returns a 400 error and prompts that the field is missing (Port field required). |
23604 |
| TrafficTest |
object |
No |
The traffic test configurations. If the traffic model TrafficModel is Fullmesh, leave this field empty. |
|
| Protocol |
string |
No |
The network protocol. Valid values: RDMA and TCP. |
TCP |
| TrafficModel |
string |
No |
The traffic model. Valid values: MTON and Fullmesh. |
Fullmesh |
| Duration |
integer |
No |
The running duration of the workflow task, in seconds. |
1 |
| QP |
integer |
No |
The number of Concurrent Connections for the test when the protocol is TCP, or the configured queue pair (QP) value when the protocol is RDMA. |
1 |
| GDR |
boolean |
No |
If the protocol is RDMA, specify True or False. If the protocol is TCP, leave this field empty. |
False |
| Clients |
array<object> |
No |
The client resources. |
|
|
object |
No |
The client resources. |
||
| ResourceId |
string |
No |
The resource ID. |
e01-cn-20s41p6cx01 |
| Bond |
string |
No |
The bonded NIC port. |
bond1 |
| IP |
string |
No |
The node IP address. |
192.168.1.1 |
| ServerName |
string |
No |
The service name. |
xMv |
| NodeId |
string |
No |
The node ID. |
e01-tw-w5elqg7pw18 |
| Servers |
array<object> |
No |
The server list. |
|
|
object |
No |
The server list. |
||
| ResourceId |
string |
No |
The resource ID. |
e01-cn-wwo3etaqu0b |
| Bond |
string |
No |
The bonded NIC port. |
bond1 |
| IP |
string |
No |
The node IP address. |
47.121.110.190 |
| ServerName |
string |
No |
The service name. |
xMv |
| NodeId |
string |
No |
The node ID. |
e01-tw-bqisacl3z6l |
| DelayTest |
object |
No |
The delay test configurations. This field is required when the network test type is latency testing. |
|
| Hosts |
array<object> |
No |
The hosts of the test nodes. |
|
|
object |
No |
The hosts of the test nodes. |
||
| ResourceId |
string |
No |
The resource ID. |
e01-cn-bcd3u1aee06 |
| Bond |
string |
No |
The bonded NIC port. |
bond1 |
| IP |
string |
No |
The node IP address. |
125.210.225.48 |
| ServerName |
string |
No |
The service name. |
NQU |
| NodeId |
string |
No |
The node ID. |
e01-cn-fou43an0a05 |
| CommTest |
object |
No |
The communication test configurations. This field is required when the network test type is communication library testing. |
|
| Type |
string |
No |
The communication library test type. Valid values: ACCL and NCCL. |
ACCL |
| Model |
string |
No |
The communication library model. |
intention_v4 |
| GPUNum |
integer |
No |
The number of GPUs. |
1 |
| Hosts |
array<object> |
No |
The resource ID. |
|
|
object |
No |
The resource ID. |
||
| ResourceId |
string |
No |
The resource ID. |
i111670831721110797708 |
| IP |
string |
No |
The IP address. |
169.253.253.15 |
| ServerName |
string |
No |
The service name. |
VBw |
| NodeId |
string |
No |
The node ID. |
e01-tw-bqisacl3z6l |
| ClusterId |
string |
No |
The cluster ID. |
i119982311660892626523 |
| NetworkMode |
string |
No |
The network mode. This parameter is required. If you do not specify this parameter, the API returns a 400 error and prompts that the field is missing (NetworkMode field required). |
2 |
| ClusterName |
string |
No |
The cluster name. |
Eflo-YJ-Test-Cluster |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Id of the request |
473469C7-AA6F-4DC5-B3DB-A3DC0DE***** |
| TestId |
string |
The ID of the started test task, which is the unique identifier of the network test task. |
dr-uf6i0tv2refv8wz***** |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE*****",
"TestId": "dr-uf6i0tv2refv8wz*****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.