diff options
author | 2016-05-04 15:39:38 +0200 | |
---|---|---|
committer | 2016-06-01 10:18:36 +0200 | |
commit | deb6fdb6a59f5c02b8cacaa9c0e6043562e53646 (patch) | |
tree | 3d926de02f37f00cc100c46b4b277115cc2becb2 /tests/suites/lisp/lisp_untagged.robot | |
parent | 38b0e2f738a81decc9d32e4d6cac678506fd090b (diff) |
CSIT-125: Add test for lisp remote static mapping
Test Lisp functionality and rename lisp file
Testing this topology:
- IPv4 lisp topology
- IPv6 lisp topology
- IPv4 over IPv6
- IPv6 over IPv4
Change-Id: Ie3439ca802f1c8ae82a1dfcfdebe579f9dc47089
Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
Diffstat (limited to 'tests/suites/lisp/lisp_untagged.robot')
-rw-r--r-- | tests/suites/lisp/lisp_untagged.robot | 90 |
1 files changed, 0 insertions, 90 deletions
diff --git a/tests/suites/lisp/lisp_untagged.robot b/tests/suites/lisp/lisp_untagged.robot deleted file mode 100644 index 9832a5135d..0000000000 --- a/tests/suites/lisp/lisp_untagged.robot +++ /dev/null @@ -1,90 +0,0 @@ -# Copyright (c) 2016 Cisco and/or its affiliates. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -*** Settings *** -| Documentation | LISP API test. -| Library | resources.libraries.python.topology.Topology -| Library | resources.libraries.python.NodePath -| Library | resources.libraries.python.Trace -| Library | resources.libraries.python.LispUtil -| Resource | resources/libraries/robot/default.robot -| Resource | resources/libraries/robot/interfaces.robot -| Resource | resources/libraries/robot/lisp.robot -| Force Tags | 3_NODE_SINGLE_LINK_TOPO | 3_NODE_DOUBLE_LINK_TOPO -| ... | VM_ENV | HW_ENV - -*** Variables *** -| ${locator_set_num}= | 3 -| ${eid_ipv4_num}= | 4 -| ${eid_ipv6_num}= | 3 -| ${map_resolver_ipv4_num}= | 3 -| ${map_resolver_ipv6_num}= | 2 - -*** Test Cases *** - -| VPP can add and delete locator_set -| | [Documentation] | Test lisp locator_set API -| | ... | Set locator_set and locator on the VPP node, -| | ... | check the configured data and then remove it. -| | ... | Check if all locator_set and locators was unset -| | ... | from the VPP node. -| | ... -| | Given Lisp locator_set data is prepared -| | ... | ${nodes['DUT1']} | ${locator_set_num} -| | When Lisp locator_set data is set | ${nodes['DUT1']} -| | Then Lisp locator_set is set correct | ${nodes['DUT1']} -| | When Delete all lisp locator_set from VPP | ${nodes['DUT1']} -| | Then Lisp locator_set should be unset | ${nodes['DUT1']} - -| VPP can add, reset and delete locator_set -| | [Documentation] | Test lisp locator_set API -| | ... | Set locator_set and locator on the VPP node, -| | ... | then reset locator_set and set it again. -| | ... | Check the configured data and then remove it. -| | ... | Check if all locator_set and locators was unset -| | ... | from the VPP node. -| | ... -| | Given Lisp locator_set data use for test reset locator_set are prepared -| | ... | ${nodes['DUT1']} | ${locator_set_num} -| | When Lisp locator_set data is set | ${nodes['DUT1']} -| | Then Lisp locator_set is set correct | ${nodes['DUT1']} -| | When Delete all lisp locator_set from VPP | ${nodes['DUT1']} -| | Then Lisp locator_set should be unset | ${nodes['DUT1']} - -| Vpp can add and delete eid address -| | [Documentation] | Test lisp eid API -| | ... | Set lisp eid IP address on the VPP node, -| | ... | check the configured data and then remove it. -| | ... | Check if all eid IP address was unset -| | ... | from the VPP node. -| | ... -| | Given Lisp eid address is prepared -| | ... | ${nodes['DUT1']} | ${eid_ipv4_num} | ${eid_ipv6_num} -| | When Lisp eid address is set | ${nodes['DUT1']} -| | Then Lisp eid address is set correct to eid table | ${nodes['DUT1']} -| | When Delete all lisp eid address from VPP | ${nodes['DUT1']} -| | Then Lisp eid table should be empty | ${nodes['DUT1']} - -| Vpp can add and delete lisp map resolver address -| | [Documentation] | Test lisp map resolver address API -| | ... | Set lisp map resolver address on the VPP node, -| | ... | check the configured data and then remove it. -| | ... | Check if all map resolver address was unset -| | ... | from the VPP node. -| | ... -| | Given Lisp map resolver address is prepared | ${nodes['DUT1']} -| | ... | ${map_resolver_ipv4_num} | ${map_resolver_ipv6_num} -| | When Lisp map resolver address is set | ${nodes['DUT1']} -| | Then Lisp map resolver address is set correct | ${nodes['DUT1']} -| | When Delete all lisp map resolver address from VPP | ${nodes['DUT1']} -| | Then Lip map resolver address should be empty | ${nodes['DUT1']} |