CSIT-1156 Create container memif tests for 2-node topology
[csit.git] / resources / libraries / robot / shared / container.robot
index 8a56caa..5b1b2ff 100644 (file)
@@ -28,7 +28,8 @@
 | | ${duts}= | Get Matches | ${nodes} | DUT*
 | | :FOR | ${dut} | IN | @{duts}
 | | | ${env}= | Create List | DEBIAN_FRONTEND=noninteractive
-| | | ${mnt}= | Create List | /tmp:/mnt/host | /dev:/dev
+| | | ${mnt}= | Create List | /tmp:/mnt/host | /dev/vfio:/dev/vfio
+| | | ... | /dev/bus:/dev/bus
 | | | ${cpu_node}= | Get interfaces numa node | ${nodes['${dut}']}
 | | | ... | ${dut1_if1} | ${dut1_if2}
 | | | Run Keyword | ${group}.Construct containers
 | | [Documentation] | Configure VPP on all container(s) in specific container
 | | ... | group on all DUT nodes.
 | | ...
+| | ${dut2_if2} = | Get Variable Value | \${dut2_if2} | ${EMPTY}
 | | Run Keyword | ${group}.Configure VPP In All Containers
 | | ... | chain_topology=${container_chain_topology}
-| | ... | dut1_if=${dut1_if2} | dut2_if=${dut2_if1}
+| | ... | dut1_if=${dut1_if2} | dut2_if=${dut2_if2}
 
 | Stop all '${group}' containers
 | | [Documentation] | Stop all container(s) in specific container group on all