aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/honeycomb/bridge_domain.robot
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2016-06-29 10:38:31 +0200
committerMatej Klotton <mklotton@cisco.com>2016-06-30 08:35:58 +0000
commitd9716ad55cf9d1ec63d4297c9b61134a62d5be64 (patch)
treef8ab31abc9594b85a8379c5c1793a2aa429b363b /resources/libraries/robot/honeycomb/bridge_domain.robot
parent2a3181f49a0ae8790436b46621b9e77bcec632d1 (diff)
Rename Honeycomb test suites
- update test suite numbering to be future-proof - reorder suite execution: - persistence suite should always run last - l2_fib suite follows after l2 - VxLAN gpe suite follows after VxLAN - fix issue with interface name vs. index introduced in change #1032 - change ${node} variable to global scope, set in _init_.robot Change-Id: Ib4ca7265586026faab219da9923e7ca312ef2c79 Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'resources/libraries/robot/honeycomb/bridge_domain.robot')
-rw-r--r--resources/libraries/robot/honeycomb/bridge_domain.robot8
1 files changed, 5 insertions, 3 deletions
diff --git a/resources/libraries/robot/honeycomb/bridge_domain.robot b/resources/libraries/robot/honeycomb/bridge_domain.robot
index 76122fa8f9..f8951e6ff1 100644
--- a/resources/libraries/robot/honeycomb/bridge_domain.robot
+++ b/resources/libraries/robot/honeycomb/bridge_domain.robot
@@ -212,9 +212,11 @@
| | ... | \| GigabitEthernet0/9/0 \| ${{split_horizon_group:2, bvi:False}} \|
| | [Arguments] | ${node} | ${index} | ${interface1} | ${interface2}
| | ... | ${settings}
-| | ${if1_index}= | Get interface sw index | ${node} | ${interface1}
-| | ${if2_index}= | Get interface sw index | ${node} | ${interface2}
-| | ${if_indices}= | Create list | ${if1_index} | ${if2_index}
+| | ${if1_link}= | Get interface by name | ${node} | ${interface1}
+| | ${if2_link}= | Get interface by name | ${node} | ${interface2}
+| | ${if_indices}= | Create list
+| | ... | ${node['interfaces']['${if1_link}']['vpp_sw_index']}
+| | ... | ${node['interfaces']['${if2_link}']['vpp_sw_index']}
| | ${bd_data}= | VPP get bridge domain data | ${node}
| | ${bd_interfaces}= | Set Variable | ${bd_data[${index}]['sw_if']}
| | @{bd_interfaces}= | Create List | ${bd_interfaces[0]} | ${bd_interfaces[1]}