diff options
author | selias <samuel.elias@pantheon.tech> | 2016-04-29 12:50:33 +0200 |
---|---|---|
committer | Matej Klotton <mklotton@cisco.com> | 2016-05-06 17:23:41 +0200 |
commit | c478afc5aec0161cc66e837c1ab919542b68ebbc (patch) | |
tree | 7817c20b6b81807a1999ca5330959911da272bc3 /resources/libraries/robot/honeycomb/honeycomb.robot | |
parent | 07c0ae2e49665961af4a8b9734218e9c5f8cd3ca (diff) |
Add Honeycomb interface management tests (ipv4, ipv6, ethernet, routing)
- add test cases for managing ipv4, ipv6, ethernet and routing
configuration on VPP interface
- add keywords used in these tests to set and verify configuration
- add method and vat template for dumping an interface's
configured IP addresses
- add method for converting between ipv4 netmasks and
network prefixes
- clean up documentation of older Honeycomb keywords
Note: Test cases are tagged with a placeholder tag to allow manual
test runs locally. It should be replaced with the appropriate
environment tags once Honeycomb service is deployed on virl.
Change-Id: I99ce1e72c8550f520f8c35ef4a93eaebb530db78
Signed-off-by: selias <samelias@cisco.com>
Signed-off-by: Matej Klotton <mklotton@cisco.com>
Diffstat (limited to 'resources/libraries/robot/honeycomb/honeycomb.robot')
-rw-r--r-- | resources/libraries/robot/honeycomb/honeycomb.robot | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/resources/libraries/robot/honeycomb/honeycomb.robot b/resources/libraries/robot/honeycomb/honeycomb.robot index 741807877d..54aff2febf 100644 --- a/resources/libraries/robot/honeycomb/honeycomb.robot +++ b/resources/libraries/robot/honeycomb/honeycomb.robot @@ -18,7 +18,7 @@ *** Keywords *** | Setup Honeycomb service on DUTs -| | [Documentation] | *Setup environment for honeycomb testing* +| | [Documentation] | *Setup environment for honeycomb testing.* | | ... | | ... | _Setup steps:_ | | ... | - 1. Login to each honeycomb node using ssh @@ -28,10 +28,12 @@ | | ... | connection refused -> 404 -> 401 -> 503 or 500 -> 200 (pass) | | ... | - 4. Configure honeycomb nodes using HTTP PUT request | | ... +| | ... | _Arguments:_ +| | ... | - ${duts} - list of nodes to setup Honeycomb on +| | ... | | ... | _Used global constants and variables:_ | | ... | - RESOURCES_TPL_HC - path to honeycomb templates directory | | ... | - HTTPCodes - HTTP protocol status codes -| | ... | - ${nodes} - dictionary of all nodes in topology.YAML file | | ... | | [Arguments] | @{duts} | | Start honeycomb on DUTs | @{duts} @@ -39,7 +41,7 @@ | | ... | Check honeycomb startup state | @{duts} | Stop honeycomb service on DUTs -| | [Documentation] | *Cleanup environment after honeycomb testing* +| | [Documentation] | *Cleanup environment after honeycomb testing.* | | ... | | ... | _Teardown steps:_ | | ... | - 1. Login to each honeycomb node using ssh @@ -48,10 +50,12 @@ | | ... | Expected sequence of HTTP replies: | | ... | 200 -> 404 -> connection refused (pass) | | ... +| | ... | _Arguments:_ +| | ... | - ${duts} - list of nodes to stop Honeycomb on +| | ... | | ... | _Used global constants and variables:_ | | ... | - RESOURCES_TPL_HC - path to honeycomb templates directory | | ... | - HTTPCodes - HTTP protocol status codes -| | ... | - ${nodes} - dictionary of all nodes in topology.YAML file | | ... | | [Arguments] | @{duts} | | Stop honeycomb on DUTs | @{duts} |