X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Fl2%2Fl2_patch.robot;h=b1a53ef4e3582cbe9f6f099fffbaed9f84b02667;hb=14a71b74b414df7616ccb5ada3d50ecb90d96bae;hp=f59f924e28726b5121638d72a0d55d64a004f0a8;hpb=ac6cc22910ea0d3bda42c227d799f2d4e89bc9d0;p=csit.git diff --git a/resources/libraries/robot/l2/l2_patch.robot b/resources/libraries/robot/l2/l2_patch.robot index f59f924e28..b1a53ef4e3 100644 --- a/resources/libraries/robot/l2/l2_patch.robot +++ b/resources/libraries/robot/l2/l2_patch.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2018 Cisco and/or its affiliates. +# Copyright (c) 2020 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -12,13 +12,17 @@ # limitations under the License. *** Settings *** -| Library | resources.libraries.python.L2Util | Library | resources.libraries.python.InterfaceUtil +| Library | resources.libraries.python.L2Util *** 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. +| | +| | FOR | ${dut} | IN | @{duts} +| | | VPP Setup Bidirectional L2 patch +| | | ... | ${nodes['${dut}']} | ${${dut}_${int}1}[0] | ${${dut}_${int}2}[0] +| | END +| | Set interfaces in path up