aboutsummaryrefslogtreecommitdiffstats
path: root/tests/suites/honeycomb/2 - vxlan.robot
diff options
context:
space:
mode:
authorselias <samelias@cisco.com>2016-05-13 13:33:45 +0200
committerselias <samelias@cisco.com>2016-05-20 13:52:40 +0200
commit1e7afbe3474d8ae8c5239ae3deee49963d6b1d93 (patch)
tree934ca404b3570a6299ed10eecdad05fb6cca6ff5 /tests/suites/honeycomb/2 - vxlan.robot
parent95bf11e637855dc91e490f526406fa7538a21ac6 (diff)
Add Honeycomb TAP interface test
JIRA: CSIT-75 - add test suite for TAP interface management through Honeycomb - add keywords required for TAP interface tests - move Honeycomb suite setup and teardown to new __init__ file - cleanup unused imports in Honeycomb test case files - modify "...should be empty" keywords to allow more reuse Change-Id: Ie3dc9069678b60c359f69c5a216e452e856a0107 Signed-off-by: selias <samelias@cisco.com>
Diffstat (limited to 'tests/suites/honeycomb/2 - vxlan.robot')
-rw-r--r--tests/suites/honeycomb/2 - vxlan.robot6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/suites/honeycomb/2 - vxlan.robot b/tests/suites/honeycomb/2 - vxlan.robot
index c1dee35102..678717c74f 100644
--- a/tests/suites/honeycomb/2 - vxlan.robot
+++ b/tests/suites/honeycomb/2 - vxlan.robot
@@ -14,7 +14,7 @@
*** Variables ***
# Node and interfaces to run tests on.
| ${node}= | ${nodes['DUT1']}
-| ${interface}= | ${node['interfaces'].values()[0]['name']}
+| ${interface}= | ${node['interfaces']['port1']['name']}
| ${vx_interface}= | vx_tunnel_test
# Configuration which will be set and verified during tests.
| &{vxlan_settings}= | src=192.168.0.2 | dst=192.168.0.3 | vni=${88}
@@ -26,7 +26,6 @@
*** Settings ***
| Resource | resources/libraries/robot/default.robot
-| Resource | resources/libraries/robot/honeycomb/honeycomb.robot
| Resource | resources/libraries/robot/honeycomb/interfaces.robot
| Resource | resources/libraries/robot/honeycomb/vxlan.robot
# import additional VxLAN settings from resource file
@@ -41,6 +40,7 @@
| | [Tags] | honeycomb_sanity
| | Given VxLAN configuration from Honeycomb should be empty
| | ... | ${node} | ${vx_interface}
+| | And VxLAN configuration from VAT should be empty | ${node}
| | When Honeycomb sets interface VxLAN configuration
| | ... | ${node} | ${vx_interface} | ${vxlan_settings}
| | Then VxLAN configuration from Honeycomb should be
@@ -53,6 +53,8 @@
| | [Tags] | honeycomb_sanity
| | Given VxLAN configuration from Honeycomb should be
| | ... | ${node} | ${vx_interface} | ${vxlan_settings}
+| | 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}