diff options
author | Peter Mikus <pmikus@cisco.com> | 2020-03-12 13:18:18 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2020-03-17 11:55:42 +0000 |
commit | 2896038b90897258842a5b8fe9582d84fe532644 (patch) | |
tree | 7f2ac1e0f77940fbd3227245bfa9062712662993 /resources/libraries/robot/l2/l2_xconnect.robot | |
parent | c5cca31223146ceaad73de575b05c46d076ad6f4 (diff) |
FIX: VHOST vpp
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: Id0d41a2e62ee6cce212fb2c09a0357d794426a00
Diffstat (limited to 'resources/libraries/robot/l2/l2_xconnect.robot')
-rw-r--r-- | resources/libraries/robot/l2/l2_xconnect.robot | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/resources/libraries/robot/l2/l2_xconnect.robot b/resources/libraries/robot/l2/l2_xconnect.robot index c929bed475..efe148c400 100644 --- a/resources/libraries/robot/l2/l2_xconnect.robot +++ b/resources/libraries/robot/l2/l2_xconnect.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: @@ -122,8 +122,8 @@ | | [Arguments] | ${dut} | ${nf_nodes}=${1} | | | | FOR | ${number} | IN RANGE | 1 | ${nf_nodes}+1 -| | | ${sock1}= | Set Variable | /var/run/vpp/sock-${number}-1 -| | | ${sock2}= | Set Variable | /var/run/vpp/sock-${number}-2 +| | | ${sock1}= | Set Variable | /run/vpp/sock-${number}-1 +| | | ${sock2}= | Set Variable | /run/vpp/sock-${number}-2 | | | ${prev_index}= | Evaluate | ${number}-1 | | | Configure vhost interfaces | ${nodes['${dut}']} | | | ... | ${sock1} | ${sock2} | ${dut}-vhost-${number}-if1 @@ -190,13 +190,13 @@ | | ... | ${dut1} | ${subif_index_1} | TAG_REWRITE_METHOD=${tag_rewrite} | | | | Configure vhost interfaces -| | ... | ${dut1} | /var/run/vpp/sock-1-1 | /var/run/vpp/sock-1-2 +| | ... | ${dut1} | /run/vpp/sock-1-1 | /run/vpp/sock-1-2 | | Configure L2XC | ${dut1} | ${dut1_if1} | ${vhost_if1} | | Configure L2XC | ${dut1} | ${subif_index_1} | ${vhost_if2} | | | | Run Keyword If | '${dut2_status}' == 'PASS' | | ... | Configure vhost interfaces -| | ... | ${dut2} | /var/run/vpp/sock-1-1 | /var/run/vpp/sock-1-2 +| | ... | ${dut2} | /run/vpp/sock-1-1 | /run/vpp/sock-1-2 | | Run Keyword If | '${dut2_status}' == 'PASS' | | ... | Configure L2XC | ${dut2} | ${subif_index_2} | ${vhost_if1} | | Run Keyword If | '${dut2_status}' == 'PASS' @@ -263,11 +263,11 @@ | | ... | ${dut1} | ${subif_index_1} | ${dut2} | ${subif_index_2} | | ... | ${tag_rewrite} | | Configure vhost interfaces -| | ... | ${dut1} | /var/run/vpp/sock-1-1 | /var/run/vpp/sock-1-2 +| | ... | ${dut1} | /run/vpp/sock-1-1 | /run/vpp/sock-1-2 | | Configure L2XC | ${dut1} | ${dut1_if1} | ${vhost_if1} | | Configure L2XC | ${dut1} | ${subif_index_1} | ${vhost_if2} | | Configure vhost interfaces -| | ... | ${dut2} | /var/run/vpp/sock-1-1 | /var/run/vpp/sock-1-2 +| | ... | ${dut2} | /run/vpp/sock-1-1 | /run/vpp/sock-1-2 | | Configure L2XC | ${dut2} | ${subif_index_2} | ${vhost_if1} | | Configure L2XC | ${dut2} | ${dut2_if2} | ${vhost_if2} |