diff options
author | Tibor Frank <tifrank@cisco.com> | 2017-06-08 14:45:26 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-06-13 09:00:09 +0200 |
commit | 53d69321e41aa6fd94abc16c7050314dc2e53f08 (patch) | |
tree | 21977de9cc93e53eb2625224262e583a3476bc91 /tests/func/honeycomb/mgmt-cfg-proxynd6-apihc-func.robot | |
parent | 5f6802ba1d16005e7562f0eace81512dddab6762 (diff) |
CSIT-664: Refactor setups and teardowns
- Add suite setup for performance IPSec tests
- Add test teardown for performance SNAT tests
- Add setups and teardowns for functional tests
- Clean up the code
Change-Id: Ia456e9f3ff0f0f2bb9a03f692f27c7f9a2817621
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'tests/func/honeycomb/mgmt-cfg-proxynd6-apihc-func.robot')
-rw-r--r-- | tests/func/honeycomb/mgmt-cfg-proxynd6-apihc-func.robot | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/func/honeycomb/mgmt-cfg-proxynd6-apihc-func.robot b/tests/func/honeycomb/mgmt-cfg-proxynd6-apihc-func.robot index abc03c04f4..6c718e705a 100644 --- a/tests/func/honeycomb/mgmt-cfg-proxynd6-apihc-func.robot +++ b/tests/func/honeycomb/mgmt-cfg-proxynd6-apihc-func.robot @@ -34,15 +34,20 @@ | Resource | resources/libraries/robot/traffic.robot | Resource | resources/libraries/robot/dhcp_proxy.robot | Library | resources.libraries.python.Trace +| ... | Test Setup | Clear Packet Trace on All DUTs | ${nodes} +| ... | Suite Teardown | Restart Honeycomb And VPP | ${node} +| ... | Force Tags | HC_FUNC +| ... | Documentation | *Honeycomb IPv6 neighbor discovery proxy test suite.* *** Test Cases *** | TC01: Honeycomb can configure IPv6 ND proxy on an interface | | [Documentation] | Check if Honeycomb can configure the IPv6 ND proxy\ | | ... | feature on an interface. +| | ... | | Given IPv6 ND proxy from Honeycomb should be empty | ${node} | ${interface} | | And Honeycomb configures interface state | ${node} | ${interface} | up | | When Honeycomb configures IPv6 ND proxy on interface @@ -53,6 +58,7 @@ | TC02: Honeycomb can disable IPv6 ND proxy on an interface | | [Documentation] | Check if Honeycomb can remove IPv6 ND proxy feature\ | | ... | configuration from an interface. +| | ... | | Given IPv6 ND proxy from Honeycomb should be | | ... | ${node} | ${interface} | ${test_dst_ip} | | When Honeycomb disables IPv6 ND proxy on interface | ${node} | ${interface} @@ -61,8 +67,10 @@ | TC03: Honeycomb can configure multiple IPv6 ND proxies on an interface | | [Documentation] | Check if Honeycomb can configure two ND proxies\ | | ... | on one interface. +| | ... | | [Teardown] | Honeycomb disables IPv6 ND proxy on interface | | ... | ${node} | ${interface} +| | ... | | Given IPv6 ND proxy from Honeycomb should be empty | ${node} | ${interface} | | And Honeycomb configures interface state | ${node} | ${interface} | up | | When Honeycomb configures IPv6 ND proxy on interface @@ -85,6 +93,7 @@ | | ... | Show Packet Trace on All DUTs | ${nodes} | AND | | ... | Honeycomb disables IPv6 ND proxy on interface | | ... | ${dut_node} | ${dut_to_tg_if2} +| | ... | | Given Configure path in 2-node circular topology | | ... | ${nodes['TG']} | ${nodes['DUT1']} | ${nodes['TG']} | | Honeycomb configures interface state | ${dut_node} | ${dut_to_tg_if1} | up |