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 type of network test. Valid values: DelayTest, TrafficTest, and CommTest. |
DelayTest |
| Port |
string |
No |
The test port number. |
23604 |
| TrafficTest |
object |
No |
This field is empty if TrafficModel is set to Fullmesh. |
|
| 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 runtime duration of the flow task, in seconds. |
1 |
| QP |
integer |
No |
If Protocol is set to TCP, specify the number of concurrent connections for the test. If Protocol is set to RDMA, specify the QP value. |
1 |
| GDR |
boolean |
No |
If Protocol is set to RDMA, specify True or False. This field is empty if Protocol is set to TCP. |
False |
| Clients |
array |
No |
The client resources. |
|
|
object |
No |
A client resource. |
||
| ResourceId |
string |
No |
The resource ID. |
e01-cn-20s41p6cx01 |
| Bond |
string |
No |
The bonded port of the network interface card (NIC). |
bond1 |
| IP |
string |
No |
The IP address of the node. |
192.168.1.1 |
| ServerName |
string |
No |
The service name. |
xMv |
| NodeId |
string |
No |
The node ID. |
e01-tw-w5elqg7pw18 |
| Servers |
array |
No |
The list of servers. |
|
|
object |
No |
A server in the list. |
||
| ResourceId |
string |
No |
The resource ID. |
e01-cn-wwo3etaqu0b |
| Bond |
string |
No |
The bonded NIC port. |
bond1 |
| IP |
string |
No |
The IP address of the node. |
47.121.110.190 |
| ServerName |
string |
No |
The service name. |
xMv |
| NodeId |
string |
No |
The node ID. |
e01-tw-bqisacl3z6l |
| DelayTest |
object |
No |
Specify this parameter if NetTestType is set to DelayTest. |
|
| Hosts |
array |
No |
The hosts of the test nodes. |
|
|
object |
No |
A host of a test node. |
||
| ResourceId |
string |
No |
The resource ID. |
e01-cn-bcd3u1aee06 |
| Bond |
string |
No |
The bonded NIC port. |
bond1 |
| IP |
string |
No |
The IP address of the node. |
125.210.225.48 |
| ServerName |
string |
No |
The service name. |
NQU |
| NodeId |
string |
No |
The node ID. |
e01-cn-fou43an0a05 |
| CommTest |
object |
No |
Specify this parameter if NetTestType is set to CommTest. |
|
| Type |
string |
No |
The type of communication library test. 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 |
No |
The hosts. |
|
|
object |
No |
A host. |
||
| 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. |
2 |
| ClusterName |
string |
No |
The cluster name. |
Eflo-YJ-Test-Cluster |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE***** |
| TestId |
string |
The ID of the network test task. This ID is the unique identifier for the 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.