X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Frobot%2Ffeatures%2Fgbp.robot;h=fc1c9faba46583d28ccd66d11b415f980acf94ca;hp=57ddf6dd1ac75057f95d024b4d63de3a6501b974;hb=14a71b74b414df7616ccb5ada3d50ecb90d96bae;hpb=8e601d0f37f715ca4ce55dded8bc27cadfe175c2 diff --git a/resources/libraries/robot/features/gbp.robot b/resources/libraries/robot/features/gbp.robot index 57ddf6dd1a..fc1c9faba4 100644 --- a/resources/libraries/robot/features/gbp.robot +++ b/resources/libraries/robot/features/gbp.robot @@ -1,4 +1,4 @@ -# Copyright (c) 2019 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: @@ -31,7 +31,6 @@ | | | | [Arguments] | ${dut} | ${count}=${1} | | -| | ${dut_str}= | Convert To Lowercase | ${dut} | | FOR | ${id} | IN RANGE | 1 | ${count} + 1 | | | ${hexa_id}= | Convert To Hex | ${id} | length=2 | lowercase=yes | | | ${dut_lo}= | VPP Create Loopback | ${nodes['${dut}']} @@ -57,11 +56,11 @@ | | | GBP Ext Itf Add Del | | | ... | ${nodes['${dut}']} | ${dut_lo} | bd_id=${id} | rd_id=${id} | | | GBP Endpoint Add -| | | ... | ${nodes['${dut}']} | ${${dut_str}_${prev_layer}_${id}_1} | 1.1.1.100 -| | | ... | ${tg_if1_mac} | ${100} +| | | ... | ${nodes['${dut}']} | ${${dut}_${int}1_${id}}[0] +| | | ... | 1.1.1.100 | ${TG_pf1_mac}[0] | ${100} | | | GBP Endpoint Add -| | | ... | ${nodes['${dut}']} | ${${dut_str}_${prev_layer}_${id}_2} | 1.1.1.200 -| | | ... | ${tg_if2_mac} | ${100} +| | | ... | ${nodes['${dut}']} | ${${dut}_${int}2_${id}}[0] +| | | ... | 1.1.1.200 | ${TG_pf2_mac}[0] | ${100} | | | VPP Route Add | | | ... | ${nodes['${dut}']} | 10.10.10.0 | 24 | gateway=1.1.1.100 | | | ... | interface=${dut_lo} | vrf=${1}