aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/l2
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/robot/l2')
-rw-r--r--resources/libraries/robot/l2/l2_patch.robot17
1 files changed, 10 insertions, 7 deletions
diff --git a/resources/libraries/robot/l2/l2_patch.robot b/resources/libraries/robot/l2/l2_patch.robot
index f59f924e28..20e72f3261 100644
--- a/resources/libraries/robot/l2/l2_patch.robot
+++ b/resources/libraries/robot/l2/l2_patch.robot
@@ -12,13 +12,16 @@
# limitations under the License.
*** Settings ***
-| Library | resources.libraries.python.L2Util
| Library | resources.libraries.python.InterfaceUtil
+| Library | resources.libraries.python.L2Util.py
*** Keywords ***
-| Configure L2 patch
-| | [Documentation] | Setup Bidirectional L2 patch on DUT
-| | [Arguments] | ${node} | ${if1} | ${if2} |
-| | Set Interface State | ${node} | ${if1} | up
-| | Set Interface State | ${node} | ${if2} | up
-| | Vpp Setup Bidirectional L2 patch | ${node} | ${if1} | ${if2}
+| Initialize L2 patch
+| | [Documentation]
+| | ... | Setup L2 patch topology by cross connecting two interfaces on
+| | ... | each DUT. Interfaces are brought up.
+| | ...
+| | Set interfaces in path up
+| | :FOR | ${dut} | IN | @{duts}
+| | | VPP Setup Bidirectional L2 patch
+| | | ... | ${nodes['${dut}']} | ${${dut}_if1} | ${${dut}_if2}