diff options
author | Andrej Kozemcak <akozemca@cisco.com> | 2016-07-06 16:17:00 +0200 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2016-07-18 08:42:10 +0000 |
commit | 021f8d100444281caf176b33f6dcc12bfba09f1f (patch) | |
tree | db4f940518d2f6ac6464b957928f9c1c0d309b5a /resources/libraries/robot/lisp/lisp_api.robot | |
parent | cf48c2c10995284b9df0e87adcc101b76cd5ced7 (diff) |
CSIT-195: Update LISP test
- add new input parameters for LISP API
- change LISP json output
Change-Id: I36dbf44dc78f128963c7f665a01d2ecde4598c28
Signed-off-by: Andrej Kozemcak <akozemca@cisco.com>
Diffstat (limited to 'resources/libraries/robot/lisp/lisp_api.robot')
-rw-r--r-- | resources/libraries/robot/lisp/lisp_api.robot | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/resources/libraries/robot/lisp/lisp_api.robot b/resources/libraries/robot/lisp/lisp_api.robot index 54ba6b7703..8d0a98c630 100644 --- a/resources/libraries/robot/lisp/lisp_api.robot +++ b/resources/libraries/robot/lisp/lisp_api.robot @@ -40,7 +40,7 @@ | | ... | \| ${locator_set_number} \| | | ... | | [Arguments] | ${dut_node} | ${locator_set_number} -| | ${locator_set_values}= | Generate Lisp Locator Set Data | +| | ${locator_set_values}= | Generate Unique Lisp Locator Set Data | | | ... | ${dut_node} | ${locator_set_number} | | Set Test Variable | ${locator_set_values} @@ -143,33 +143,10 @@ | | ... | are prepared \| ${nodes['DUT1']} \| ${locator_set_number} \| | | ... | | [Arguments] | ${dut_node} | ${locator_set_number} -| | ${locator_set_values}= | Generate Lisp Locator Set Reset Data | +| | ${locator_set_values}= | Generate Duplicate Lisp Locator Set Data | | | ... | ${dut_node} | ${locator_set_number} | | Set Test Variable | ${locator_set_values} -| Lisp eid address is prepared -| | [Documentation] | Generate lisp eid address for testing lisp eid API. -| | ... -| | ... | *Arguments:* -| | ... | - dut_node - DUT node. Type: dictionary -| | ... | - eid_ipv4_num - Number of generate ipv4 address. Type: int -| | ... | - eid_ipv6_num - Number of generate ipv6 address. Type: int -| | ... -| | ... | *Return:* -| | ... | - No value returned -| | ... -| | ... | _NOTE:_ This KW sets following test case variables: -| | ... | - set_eid - New generate eid data. -| | ... -| | ... | *Example:* -| | ... | \| Given Lisp eid address is prepared \| ${nodes['DUT1']} \ -| | ... | \| ${eid_ipv4_num} \| ${eid_ipv6_num} \| -| | ... -| | [Arguments] | ${dut_node} | ${eid_ipv4_num} | ${eid_ipv6_num} -| | ${set_eid} = | Generate Lisp Local Eid Data -| | ... | ${eid_ipv4_num} | ${eid_ipv6_num} -| | Set Test Variable | ${set_eid} - | Lisp eid address is set | | [Documentation] | Set the lisp eid address on the VPP node. | | ... |