HC Test: bugfix for SLAAC and ODL tests 44/7344/4
authorselias <samelias@cisco.com>
Thu, 29 Jun 2017 11:17:40 +0000 (13:17 +0200)
committerTibor Frank <tifrank@cisco.com>
Fri, 30 Jun 2017 08:44:38 +0000 (08:44 +0000)
Change-Id: I0a09482e8dc9ef2f9e6cd54a26c8d8492409f68c
Signed-off-by: selias <samelias@cisco.com>
resources/libraries/robot/honeycomb/honeycomb.robot
resources/libraries/robot/honeycomb/slaac.robot
resources/templates/honeycomb/config_slaac.url
tests/vpp/func/honeycomb/mgmt-cfg-slaac-apihc-func.robot

index 603fbfa..9017584 100644 (file)
 | | ${use_odl_client}= | Get Variable Value | ${HC_ODL}
 | | Run Keyword If | '${use_odl_client}' != '${NONE}'
 | | ... | Run Keywords
 | | ${use_odl_client}= | Get Variable Value | ${HC_ODL}
 | | Run Keyword If | '${use_odl_client}' != '${NONE}'
 | | ... | Run Keywords
-| | ... | Stop ODL Client | ${node} | /tmp
-| | ... | ${use_odl_client}= | Set Variable | ${NONE}
-| | ... | Set Global Variable | ${use_odl_client}
+| | ... | Stop ODL Client | ${node} | /tmp | AND
+| | ... | Set Global Variable | ${use_odl_client} | ${NONE}
 | | Stop Honeycomb service on DUTs | ${node}
 
 | Enable Honeycomb Feature
 | | Stop Honeycomb service on DUTs | ${node}
 
 | Enable Honeycomb Feature
index 1304c2b..036d4d0 100644 (file)
@@ -68,7 +68,7 @@
 | | ... | \| ${node} \| ${interface} \|
 | | ...
 | | [Arguments] | ${node} | ${interface}
 | | ... | \| ${node} \| ${interface} \|
 | | ...
 | | [Arguments] | ${node} | ${interface}
-| | Run keyword and expect error | HoneycombError*404*
+| | Run keyword and expect error | HoneycombError*40*
 | | ... | Get interface SLAAC oper data | ${node} | ${interface}
 
 | Honeycomb removes SLAAC configuration
 | | ... | Get interface SLAAC oper data | ${node} | ${interface}
 
 | Honeycomb removes SLAAC configuration
index 568ec76..5b363ff 100644 (file)
@@ -1 +1 @@
-/restconf/config/hc2vpp-ietf-routing:routing/routing-instance/vpp-routing-instance/interfaces/
\ No newline at end of file
+/restconf/config{odl_url_part}/hc2vpp-ietf-routing:routing/routing-instance/vpp-routing-instance/interfaces/
\ No newline at end of file
index 3b5f365..7f229be 100644 (file)
@@ -35,7 +35,7 @@
 
 *** Test Cases ***
 | TC01: Honeycomb can configure SLAAC
 
 *** Test Cases ***
 | TC01: Honeycomb can configure SLAAC
-| | [Documentation] | Checks if Honeycomb can congigure SLAAC.
+| | [Documentation] | Checks if Honeycomb can configure SLAAC.
 | | ...
 | | Given SLAAC Operational Data From Honeycomb Should Be empty | ${node}
 | | ... | ${interface}
 | | ...
 | | Given SLAAC Operational Data From Honeycomb Should Be empty | ${node}
 | | ... | ${interface}
@@ -56,7 +56,7 @@
 | | ... | ${interface}
 
 | TC03: Honeycomb can configure SLAAC with suppress link layer disabled
 | | ... | ${interface}
 
 | TC03: Honeycomb can configure SLAAC with suppress link layer disabled
-| | [Documentation] | Checks if Honeycomb can congigure SLAAC.
+| | [Documentation] | Checks if Honeycomb can configure SLAAC.
 | | ...
 | | [Teardown] | SLAAC test teardown | ${node} | ${interface}
 | | ...
 | | ...
 | | [Teardown] | SLAAC test teardown | ${node} | ${interface}
 | | ...