3.2. dmm

3.2.1. dmm_utils suite

3.2.1.1. Path for 2-node testing is set

Compute the path for the 2 node testing.

Arguments: - dut1_node - DUT1 node. Type: dictionary - dut2_node - DUT2 node. Type: dictionary

Return: - No value returned.

Example:

| Path for 2-node testing is set | ${nodes[‘DUT1’]} | ${nodes[‘DUT2’] |


Append Nodes  ${dut1_node}  ${dut2_node}
Compute Path

3.2.1.2. Pick out the port used to execute test

Pick out the port used to execute the test.

Arguments: - No arguments.

Return: - No value returned.

Example:

| Pick out the port used to execute test |


${dut1_to_dut2_if}  ${dut1_node}=  Next Interface
${dut2_to_dut1_if}  ${dut2_node}=  Next Interface
${dut1_to_dut2_if_name}=  DMM Get Interface Name  ${dut1_node}  ${dut1_to_dut2_if}
${dut2_to_dut1_if_name}=  DMM Get Interface Name  ${dut2_node}  ${dut2_to_dut1_if}
Set Suite Variable  ${dut1_node}
Set Suite Variable  ${dut2_node}
Set Suite Variable  ${dut1_to_dut2_if}
Set Suite Variable  ${dut2_to_dut1_if}
Set Suite Variable  ${dut1_to_dut2_if_name}
Set Suite Variable  ${dut2_to_dut1_if_name}