CSIT-562 HC Test: Persistence suite rework, part1
[csit.git] / resources / libraries / robot / tagging.robot
index 363ac58..1e481a2 100644 (file)
@@ -47,7 +47,7 @@
 | | ...                                 | ${INT1_name} | ${SUB_ID}
 | | ...                                 | ${OUTER_VLAN_ID} | ${INNER_VLAN_ID}
 | | ...                                 | ${TYPE_SUBIF}
-| | ${INT2_name}= | Get interface name | ${DUT1} | ${INT2}
+| | ${INT2_name}= | Get interface name | ${DUT2} | ${INT2}
 | | ${subif_name_2} | ${subif_index_2}= | Create subinterface | ${DUT2}
 | | ...                                 | ${INT2_name} | ${SUB_ID}
 | | ...                                 | ${OUTER_VLAN_ID} | ${INNER_VLAN_ID}
 | | L2 setup xconnect on DUT | ${DUT2} | ${INT2} | ${SUB_INT2}
 
 | Vlan Subinterface Created
-| | [Documentation] | Create VLAN sub-interface on DUT.
+| | [Documentation] | Create VLAN sub-interface on DUT and set admin status up.
 | | ...
 | | ... | *Arguments:*
 | | ... | - dut_node - Node to add VLAN sub-intreface. Type: dictionary
 | | ${interface_name}= | Get interface name | ${dut_node} | ${interface}
 | | ${vlan_name} | ${vlan_index}= | Create Vlan Subinterface
 | | ... | ${dut_node} | ${interface_name} | ${vlan_id}
+| | Set Interface State | ${dut_node} | ${vlan_index} | up
 
 | Tagged Subinterface Created
 | | [Documentation] | Create tagged sub-interface on DUT. Type of tagged \