X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Ftagging.robot;h=1e481a2e5ddc98a9fdeba63643ea51d21023f6d1;hp=363ac58f983d335e7d419626543f4c43020919c1;hb=21702fb09c470511cc3ed7b34ca5ab0f8d30b68f;hpb=f7feaf7804f267c9d7880917f6baf9d1bdb21584 diff --git a/resources/libraries/robot/tagging.robot b/resources/libraries/robot/tagging.robot index 363ac58f98..1e481a2e5d 100644 --- a/resources/libraries/robot/tagging.robot +++ b/resources/libraries/robot/tagging.robot @@ -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} @@ -128,7 +128,7 @@ | | 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 @@ -148,6 +148,7 @@ | | ${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 \