ListNetTestResults

Updated at:

Queries the list of network tests.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

eflo:ListNetTestResults

get

*Cluster

acs:eflo:{#regionId}:{#accountId}:cluster/*

None None

Request parameters

Parameter

Type

Required

Description

Example

NextToken

string

No

The pagination token. Set this parameter to the value of NextToken that is returned from the previous API call.

3a6b93229825ac667104463b5679****

MaxResults

integer

No

The number of entries per page in a paged query. Maximum value: 100.

Default value:

  • If this parameter is not specified or is set to a value less than 20, the default value is 20.

  • If this parameter is set to a value greater than 100, the default value is 100.

20

NetTestType

string

No

The network test type.

DelayTest

ResourceGroupId

string

No

The resource group ID.

rg-acfmxno4vh5****

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

3C683243-7915-57FB-9570-A2932C1C0F78

NetTestResults

array<object>

The node list.

array<object>

The node list.

Port

string

The test port number.

80

NetTestType

string

The network test type.

NetDiag

TestId

string

The test ID. The unique identifier of the resource test task.

String i-uf6i0tv2refv8wz*****

Status

string

The network test task status. Valid values:
● InProgress: The test is in progress.
● Finished: The test is complete.
● Failed: The test failed.







InProgress

CreationTime

string

The creation time. The time is in ISO 8601 format. Z in the example indicates UTC.

2024-01-19T02:18:12Z

FinishedTime

string

The completion time. The time is in ISO 8601 format. Z in the example indicates UTC.

2024-10-30T02:07Z

TrafficTest

object

The traffic test information. This parameter is returned when the network test type is traffic test.

Protocol

string

The network protocol. Valid values: RDMA or TCP.

TCP

TrafficModel

string

The traffic model. Valid values: MTON or Fullmesh.

Fullmesh

Duration

integer

The duration of the workflow task. Unit: seconds.

1

QP

integer

The number of concurrent connections for TCP tests, or the QP value for RDMA tests.

RDMA

GDR

string

Specifies whether GPUDirect RDMA is enabled. Valid values: True and False. This parameter is returned only when the protocol is RDMA. This field is empty when the protocol is TCP.

True

Clients

array<object>

The clients.

object

The clients.

ResourceId

string

The resource ID.

e01-cn-20p36bqet39

Bond

string

The NIC bond interface.

bond1

IP

string

The IP address.

74.73.100.1

ServerName

string

The service name.

prod-gf-cn.juequling.com

Servers

array<object>

The servers. This field is empty when the traffic model (TrafficModel) is Fullmesh.

object

The servers. This field is empty when the traffic model (TrafficModel) is Fullmesh.

ResourceId

string

The resource ID.

e01-cn-wwo3ete****

Bond

string

The NIC bond interface.

bond1

IP

string

The node IP address.

10.1.168.183

ServerName

string

The service name.

prod-gf-cn.juequling.com

DelayTest

object

The latency test information. This parameter is returned when the network test type is latency test.

Hosts

array<object>

The resources.

object

The resources.

ResourceId

string

The resource ID.

e01-cn-wwo3ete****

Bond

string

The NIC bond interface.

bond1

IP

string

The node IP address.

pgm-bp174z988a27wre71o.pg.rds.aliyuncs.com

ServerName

string

The service name.

WrF

CommTest

object

The communication library test information. This parameter is required when the test type is communication library test.

Type

string

The communication library test category. Valid values: ACCL or NCCL.

ACCL

Model

string

The communication library model.

AllToAll

GPUNum

string

The number of GPUs.

4

Hosts

array<object>

The hosts of the test nodes.

object

The hosts of the test nodes.

ResourceId

string

The resource ID.

e01-cn-wwo3ete****

IP

string

The node IP address.

10.51.16.21

ServerName

string

The service name.

www.xinjiaoyu.com

ClusterId

string

The cluster ID.

i11066721171826501****

NetworkMode

string

The network mode.

01

ClusterName

string

The cluster name.

test

NextToken

string

The NextToken for the next page. Include this value when requesting the next page.

3a6b93229825ac667104463b5679****

MaxResults

integer

The number of entries per page in a paged query. Maximum value: 100.

Default value:

  • If this parameter is not specified or is set to a value less than 20, the default value is 20.

  • If this parameter is set to a value greater than 100, the default value is 100.

20

Examples

Success response

JSON format

{
  "RequestId": "3C683243-7915-57FB-9570-A2932C1C0F78",
  "NetTestResults": [
    {
      "Port": "80",
      "NetTestType": "NetDiag",
      "TestId": "String\ti-uf6i0tv2refv8wz*****",
      "Status": "InProgress",
      "CreationTime": "2024-01-19T02:18:12Z",
      "FinishedTime": "2024-10-30T02:07Z",
      "TrafficTest": {
        "Protocol": "TCP",
        "TrafficModel": "Fullmesh",
        "Duration": 1,
        "QP": 0,
        "GDR": "True",
        "Clients": [
          {
            "ResourceId": "e01-cn-20p36bqet39",
            "Bond": "bond1",
            "IP": "74.73.100.1",
            "ServerName": "prod-gf-cn.juequling.com"
          }
        ],
        "Servers": [
          {
            "ResourceId": "e01-cn-wwo3ete****",
            "Bond": "bond1",
            "IP": "10.1.168.183",
            "ServerName": "prod-gf-cn.juequling.com"
          }
        ]
      },
      "DelayTest": {
        "Hosts": [
          {
            "ResourceId": "e01-cn-wwo3ete****",
            "Bond": "bond1",
            "IP": "pgm-bp174z988a27wre71o.pg.rds.aliyuncs.com",
            "ServerName": "WrF"
          }
        ]
      },
      "CommTest": {
        "Type": "ACCL",
        "Model": "AllToAll",
        "GPUNum": "4",
        "Hosts": [
          {
            "ResourceId": "e01-cn-wwo3ete****",
            "IP": "10.51.16.21",
            "ServerName": "www.xinjiaoyu.com"
          }
        ]
      },
      "ClusterId": "i11066721171826501****",
      "NetworkMode": "01",
      "ClusterName": "test"
    }
  ],
  "NextToken": "3a6b93229825ac667104463b5679****",
  "MaxResults": 20
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.