ListNetTestResults

Updated at:

Lists 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. The value is the NextToken value returned by the previous API call.

3a6b93229825ac667104463b5679****

MaxResults

integer

No

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

Default value:

  • If you do not specify the Settings or the specified Settings value is less than 20, the default value is 20.

  • If the specified Settings value is 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 list of nodes.

array<object>

The list of nodes.

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 status of the network test task. Valid values:

  • InProgress: The test is in progress.

  • Finished: The test is completed.

  • Failed: The test failed.

InProgress

CreationTime

string

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

2024-01-19T02:18:12Z

FinishedTime

string

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

2024-10-30T02:07Z

TrafficTest

object

The traffic test information. This field is populated when the network test type is traffic test.

Protocol

string

The network protocol. Valid values: RDMA and TCP.

TCP

TrafficModel

string

The traffic model. Valid values: MTON and Fullmesh.

Fullmesh

Duration

integer

The duration of the workflow task, in seconds.

1

QP

integer

The number of concurrent connections for the test when the protocol is TCP, or the configured QP value when the protocol is RDMA.

3

GDR

string

Indicates whether GDR is enabled when the protocol is RDMA. Valid values: True and False. 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 if the traffic model is Fullmesh.

object

The servers. This field is empty if the traffic model 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 delay test information. This field is populated when the network test type is delay test.

Hosts

array<object>

The list of resources.

object

The list of 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 field is populated when the traffic test type is communication library test.

Type

string

The communication library test type. Valid values: ACCL and 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 next token. Include this value in the request to query the next page of results.

3a6b93229825ac667104463b5679****

MaxResults

integer

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

Default value:

  • If you do not specify the Settings or the specified Settings value is less than 20, the default value is 20.

  • If the specified Settings value is 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.