|
Motr
M0
|
|
Functions | |
| static int | console_role_init_fini (struct m0_net_test_console_role_ctx *ctx, struct m0_net_test_console_cfg *cfg, enum m0_net_test_role role) |
| static int | console_init_fini (struct m0_net_test_console_ctx *ctx, struct m0_net_test_console_cfg *cfg) |
| int | m0_net_test_console_init (struct m0_net_test_console_ctx *ctx, struct m0_net_test_console_cfg *cfg) |
| void | m0_net_test_console_fini (struct m0_net_test_console_ctx *ctx) |
| static void | console_cmd_init_fill (struct m0_net_test_console_cfg *cfg, enum m0_net_test_role role, struct m0_net_test_cmd_init *cinit) |
| static void | status_data_reset (struct m0_net_test_cmd_status_data *sd) |
| static void | status_data_add (struct m0_net_test_cmd_status_data *all_sd, const struct m0_net_test_cmd_status_data *cmd_sd) |
| size_t | m0_net_test_console_cmd (struct m0_net_test_console_ctx *ctx, enum m0_net_test_role role, enum m0_net_test_cmd_type cmd_type) |
|
static |
|
static |
|
static |
| size_t m0_net_test_console_cmd | ( | struct m0_net_test_console_ctx * | ctx, |
| enum m0_net_test_role | role, | ||
| enum m0_net_test_cmd_type | cmd_type | ||
| ) |
Send command from console to the set of test nodes and wait for reply.
| ctx | Test console context. |
| role | Test node role. Test console will send commands to nodes with this role only. |
| cmd_type | Command type. Test console will create and send command with this type and wait for the corresponding reply type (for example, if cmd_type == M0_NET_TEST_CMD_INIT, then test console will wait for M0_NET_TEST_CMD_INIT_DONE reply). |
Definition at line 228 of file console.c.


| void m0_net_test_console_fini | ( | struct m0_net_test_console_ctx * | ctx | ) |
| int m0_net_test_console_init | ( | struct m0_net_test_console_ctx * | ctx, |
| struct m0_net_test_console_cfg * | cfg | ||
| ) |
|
static |
|
static |