Motr  M0
m0_net_test_console_cfg Struct Reference

#include <console.h>

Collaboration diagram for m0_net_test_console_cfg:
Collaboration graph

Data Fields

char * ntcc_addr_console4servers
 
char * ntcc_addr_console4clients
 
struct m0_net_test_slist ntcc_servers
 
struct m0_net_test_slist ntcc_clients
 
struct m0_net_test_slist ntcc_data_servers
 
struct m0_net_test_slist ntcc_data_clients
 
m0_time_t ntcc_cmd_send_timeout
 
m0_time_t ntcc_cmd_recv_timeout
 
m0_time_t ntcc_buf_send_timeout
 
m0_time_t ntcc_buf_recv_timeout
 
m0_time_t ntcc_buf_bulk_timeout
 
enum m0_net_test_type ntcc_test_type
 
uint64_t ntcc_msg_nr
 
m0_time_t ntcc_test_time_limit
 
m0_bcount_t ntcc_msg_size
 
uint64_t ntcc_bd_buf_nr_server
 
uint64_t ntcc_bd_buf_nr_client
 
m0_bcount_t ntcc_bd_buf_size
 
uint64_t ntcc_bd_nr_max
 
uint64_t ntcc_concurrency_server
 
uint64_t ntcc_concurrency_client
 

Detailed Description

Console configuration. Set by console user before calling m0_net_test_init()

Definition at line 50 of file console.h.

Field Documentation

◆ ntcc_addr_console4clients

char* ntcc_addr_console4clients

Console commands endpoint address for the test clients

Definition at line 54 of file console.h.

◆ ntcc_addr_console4servers

char* ntcc_addr_console4servers

Console commands endpoint address for the test servers

Definition at line 52 of file console.h.

◆ ntcc_bd_buf_nr_client

uint64_t ntcc_bd_buf_nr_client

Number of buffers for bulk buffer network descriptors for the test client.

Note
Used in bulk testing only.

Definition at line 113 of file console.h.

◆ ntcc_bd_buf_nr_server

uint64_t ntcc_bd_buf_nr_server

Number of buffers for bulk buffer network descriptors for the test server.

Note
Used in bulk testing only.

Definition at line 107 of file console.h.

◆ ntcc_bd_buf_size

m0_bcount_t ntcc_bd_buf_size

Size of buffer for bulk buffer network descriptors.

Note
Used in bulk testing only.

Definition at line 118 of file console.h.

◆ ntcc_bd_nr_max

uint64_t ntcc_bd_nr_max

Maximum number of bulk buffer network descriptors in msg buffer.

See also
node_bulk_ctx.nbc_bd_nr_max
Note
Used in bulk testing only.

Definition at line 125 of file console.h.

◆ ntcc_buf_bulk_timeout

m0_time_t ntcc_buf_bulk_timeout

Test messages receive timeout for the bulk transfers in bulk testing on the test nodes

Definition at line 90 of file console.h.

◆ ntcc_buf_recv_timeout

m0_time_t ntcc_buf_recv_timeout

Test messages receive timeout for the test nodes

Definition at line 85 of file console.h.

◆ ntcc_buf_send_timeout

m0_time_t ntcc_buf_send_timeout

Test messages send timeout for the test nodes

Definition at line 83 of file console.h.

◆ ntcc_clients

struct m0_net_test_slist ntcc_clients

List of test client command endpoints.

See also
m0_net_test_console_cfg.ntcc_servers

Definition at line 65 of file console.h.

◆ ntcc_cmd_recv_timeout

m0_time_t ntcc_cmd_recv_timeout

Commands receive timeout for the test nodes and test console

Definition at line 81 of file console.h.

◆ ntcc_cmd_send_timeout

m0_time_t ntcc_cmd_send_timeout

Commands send timeout for the test nodes and test console

Definition at line 79 of file console.h.

◆ ntcc_concurrency_client

uint64_t ntcc_concurrency_client

Test client concurrency.

See also
m0_net_test_cmd_init.ntci_msg_concurrency

Definition at line 135 of file console.h.

◆ ntcc_concurrency_server

uint64_t ntcc_concurrency_server

Test server concurrency.

See also
m0_net_test_cmd_init.ntci_msg_concurrency

Definition at line 130 of file console.h.

◆ ntcc_data_clients

struct m0_net_test_slist ntcc_data_clients

List of test client data endpoints.

See also
m0_net_test_console_cfg.ntcc_data_servers

Definition at line 77 of file console.h.

◆ ntcc_data_servers

struct m0_net_test_slist ntcc_data_servers

List of test server data endpoints. Every test server will create one transfer machine with endpoint from this list. Every test client will send/receive test messages to/from all test server data endpoints.

Definition at line 72 of file console.h.

◆ ntcc_msg_nr

uint64_t ntcc_msg_nr

Number of test messages for the test client

Definition at line 94 of file console.h.

◆ ntcc_msg_size

m0_bcount_t ntcc_msg_size

Test messages size

Definition at line 101 of file console.h.

◆ ntcc_servers

struct m0_net_test_slist ntcc_servers

List of test server command endpoints. Test console will use this endpoints for sending/receiving commands to/from test servers.

Definition at line 60 of file console.h.

◆ ntcc_test_time_limit

m0_time_t ntcc_test_time_limit

Test run time limit. The test will stop after ntcc_msg_nr test messages or when time limit reached.

Definition at line 99 of file console.h.

◆ ntcc_test_type

enum m0_net_test_type ntcc_test_type

Test type

Definition at line 92 of file console.h.


The documentation for this struct was generated from the following file: