Use interface key instead of interface name.
[csit.git] / resources / libraries / robot / bridge_domain.robot
index f1458a0..ac0fea8 100644 (file)
 | | ... | *Example:*
 | | ...
 | | ... | \| VM for Vhost L2BD forwarding is setup \| ${nodes['DUT1']} \
-| | ... | \| /tmp/sock1 \| /tmp/sock2
+| | ... | \| /tmp/sock1 \| /tmp/sock2 \|
 | | [Arguments] | ${node} | ${sock1} | ${sock2}
 | | Set Test Variable | ${vm_node} | ${None}
 | | Qemu Set Node | ${node}
 | | ${vhost1}= | Get Vhost User If Name By Sock | ${vm} | ${sock1}
 | | ${vhost2}= | Get Vhost User If Name By Sock | ${vm} | ${sock2}
 | | Linux Add Bridge | ${vm} | ${br} | ${vhost1} | ${vhost2}
-| | Set Interface State | ${vm} | ${vhost1} | up
-| | Set Interface State | ${vm} | ${vhost2} | up
-| | Set Interface State | ${vm} | ${br} | up
+| | Set Interface State | ${vm} | ${vhost1} | up | if_type=name
+| | Set Interface State | ${vm} | ${vhost2} | up | if_type=name
+| | Set Interface State | ${vm} | ${br} | up | if_type=name
 | | Set Test Variable | ${vm_node} | ${vm}
 
 | VPP Vhost interfaces for L2BD forwarding are setup
 | | ... | *Example:*
 | | ...
 | | ... | \| VPP Vhost interfaces for L2BD forwarding are setup \
-| | ... | \| ${nodes['DUT1']} \| /tmp/sock1 \| /tmp/sock2
+| | ... | \| ${nodes['DUT1']} \| /tmp/sock1 \| /tmp/sock2 \|
 | | [Arguments] | ${node} | ${sock1} | ${sock2}
 | | ${vhost_if1}= | Vpp Create Vhost User Interface | ${node} | ${sock1}
 | | ${vhost_if2}= | Vpp Create Vhost User Interface | ${node} | ${sock2}