aboutsummaryrefslogtreecommitdiffstats
path: root/tests/func/honeycomb/030_vxlan.robot
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2016-10-04 14:41:16 +0200
committerPeter Mikus <pmikus@cisco.com>2016-11-08 09:19:27 +0000
commit839c9c1a64524fe236ff435e6fbd3fe29eb97603 (patch)
tree8437e2ff63ba710f688587e8c8afa1a3226757a3 /tests/func/honeycomb/030_vxlan.robot
parent440370de3fc66d5bb9754a55fa78ccce8c598f5d (diff)
CSIT-423: HC Test: delete VxLAN interface
Modify VxLAN test cases to account for changes in Honeycomb. Change-Id: If2db55548b5472350d128bdfbb5bdd5289e1deef Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'tests/func/honeycomb/030_vxlan.robot')
-rw-r--r--tests/func/honeycomb/030_vxlan.robot13
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/func/honeycomb/030_vxlan.robot b/tests/func/honeycomb/030_vxlan.robot
index 7aa77f3ae8..a44628a593 100644
--- a/tests/func/honeycomb/030_vxlan.robot
+++ b/tests/func/honeycomb/030_vxlan.robot
@@ -51,30 +51,41 @@
| | ... | ${node} | ${vx_interface} | ${vxlan_settings}
| | And VxLAN configuration from VAT should be
| | ... | ${node} | ${vxlan_settings}
+| | ${vxlan_index}= | Get Interface index from oper data
+| | ... | ${node} | ${vx_interface}
+| | Set Suite Variable | ${vxlan_index}
| Honeycomb disables VxLAN tunnel
| | [Documentation] | Check if Honeycomb API can reset VxLAN configuration.
| | Given VxLAN configuration from Honeycomb should be
| | ... | ${node} | ${vx_interface} | ${vxlan_settings}
+| | And Honeycomb should not show disabled interface in oper data
+| | ... | ${node} | ${vxlan_index}
| | And VxLAN configuration from VAT should be
| | ... | ${node} | ${vxlan_settings}
| | When Honeycomb removes VxLAN tunnel settings | ${node} | ${vx_interface}
| | Then VxLAN configuration from Honeycomb should be empty
| | ... | ${node} | ${vx_interface}
+| | And Honeycomb should show disabled interface in oper data
+| | ... | ${node} | ${vxlan_index}
| | And VxLAN configuration from VAT should be empty | ${node}
-Honeycomb can configure VXLAN tunnel after one has been disabled
+| Honeycomb can configure VXLAN tunnel after one has been disabled
| | [Documentation] | Check if Honeycomb API can configure VxLAN settings again\
| | ... | after previous settings have been removed.
| | [Teardown] | Honeycomb removes VxLAN tunnel settings
| | ... | ${node} | ${vx_interface}
| | Given VxLAN configuration from Honeycomb should be empty
| | ... | ${node} | ${vx_interface}
+| | And Honeycomb should show disabled interface in oper data
+| | ... | ${node} | ${vxlan_index}
| | And VxLAN configuration from VAT should be empty | ${node}
| | When Honeycomb sets interface VxLAN configuration
| | ... | ${node} | ${vx_interface} | ${vxlan_settings2}
| | Then VxLAN configuration from Honeycomb should be
| | ... | ${node} | ${vx_interface} | ${vxlan_settings2}
+| | And Honeycomb should not show disabled interface in oper data
+| | ... | ${node} | ${vxlan_index}
| | And VxLAN configuration from VAT should be
| | ... | ${node} | ${vxlan_settings2}