diff options
author | Peter Mikus <pmikus@cisco.com> | 2020-04-29 15:09:19 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2020-04-29 15:31:55 +0000 |
commit | f6e52303a7074feb45938dc6995f694a84852ce0 (patch) | |
tree | 4a6085e53283f6c665e538fed955ff2c488fe1cb /resources/libraries/robot | |
parent | cc49d8fca196e8abec7dd75b049dd773fefe1d77 (diff) |
FIX: dot1qip4vxlan-l2bd
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: Ia4415090263357d16cfd5f5bc93931ded5688557
Diffstat (limited to 'resources/libraries/robot')
-rw-r--r-- | resources/libraries/robot/shared/interfaces.robot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/robot/shared/interfaces.robot b/resources/libraries/robot/shared/interfaces.robot index 7d27ac563c..cd14e8937e 100644 --- a/resources/libraries/robot/shared/interfaces.robot +++ b/resources/libraries/robot/shared/interfaces.robot @@ -500,7 +500,7 @@ | | | ... | dut=${dut} | pf=${pf} | id=${id} | vlan_per_chain=${vlan_per_chain} | | | # First id results in non-None indices, after that _1_ are defined. | | | ${_dot1q}= | Set Variable If | '${_dot1q}' == '${NONE}' -| | | ... | ${${dut}_dot1q${pf}_1} | ${_dot1q} +| | | ... | ${${dut}_dot1q${pf}_1}[0] | ${_dot1q} | | | ${_dot1q}= | Create List | ${_dot1q} | | | Set Test Variable | ${${dut}_dot1q${pf}_${id}} | ${_dot1q} | | END @@ -529,7 +529,7 @@ | | [Arguments] | ${dut} | ${pf} | ${id} | ${vlan_per_chain}=${True} | | | | Return From Keyword If | ${id} != ${1} and not ${vlan_per_chain} -| | ... | ${NONE} | ${NONE} +| | ... | ${NONE} | | ${_default}= | Evaluate | ${pf} * ${100} + ${id} - ${1} | | ${_vlan}= | Get Variable Value | \${${dut}_pf${pf}_vlan} | | ${_vlan}= | Set Variable If | '${_vlan}[0]' != '${NONE}' |