diff options
author | Tibor Frank <tifrank@cisco.com> | 2016-05-02 18:19:04 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2016-05-09 10:04:17 +0200 |
commit | f32168ef95c3b68567ccd57e098d74ad9a536edd (patch) | |
tree | e4eaba9fb428685c14c9f011a521521a172e9ccb /tests | |
parent | e91261e76664aa94b515e3e6923a5d4e2ac883a0 (diff) |
Interface VxLAN test
JIRA: CSIT-45
- add test: Honeycomb modifies interface configuration - VxLAN
- add keywords used in these tests to set and verify configuration
- add method and vat template for dumping an interface's configured VxLAN
- fixed requirements.txt
Change-Id: I6d6c360a4d478a0e40eecf7c0235969e7c06f7a9
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Signed-off-by: C.J. Collier <cjcollier@linuxfoundation.org>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/suites/honeycomb/interface_management.robot | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/suites/honeycomb/interface_management.robot b/tests/suites/honeycomb/interface_management.robot index f741f9543b..3408b5283b 100644 --- a/tests/suites/honeycomb/interface_management.robot +++ b/tests/suites/honeycomb/interface_management.robot @@ -25,6 +25,8 @@ | ... | dup-addr-detect-transmits=5 | &{ethernet}= | mtu=9000 | &{routing}= | vrf-id=27 +| &{vxlan_settings}= | src=10.0.1.20 | dst=10.0.3.20 | vni=1000 +| ... | encap-vrf-id=1000 *** Settings *** | Resource | resources/libraries/robot/default.robot @@ -86,3 +88,14 @@ | | ... | ${node} | ${interface} | ${ethernet} | ${routing} | | And Interface ethernet and routing configuration from VAT should be | | ... | ${node} | ${interface} | ${ethernet['mtu']} | ${routing['vrf-id']} + +| Honeycomb modifies interface configuration - VxLAN +| | [Documentation] | Check if Honeycomb API can configure interface VxLAN \ +| | ... | settings. +| | [Tags] | honeycomb_sanity +| | When Honeycomb sets interface VxLAN configuration +| | ... | ${node} | ${interface} | &{vxlan_settings} +| | Then VxLAN configuration from Honeycomb should be +| | ... | ${node} | ${interface} | &{vxlan_settings} +| | And VxLAN configuration from VAT should be +| | ... | ${node} | ${interface} | &{vxlan_settings} |