aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/lisp/lisp_api.robot
diff options
context:
space:
mode:
authorTibor Frank <tifrank@cisco.com>2016-08-24 16:09:20 +0200
committerTibor Frank <tifrank@cisco.com>2016-09-05 14:02:48 +0200
commitc3bf9f6ad20223998c1103ba3061a5e338979e2b (patch)
treeeb8aca3374dc12f708d6fe9fcfd9f70eab6d1a3c /resources/libraries/robot/lisp/lisp_api.robot
parent752104dfc1b8453367f0d6740f628b702c07e0b5 (diff)
CSIT-229: ip4-lispgpe-ip4
- main fib, - vrf, - phy2lisp Change-Id: Ic9bacef4574dc07b25041c4cd0653825a65c94fb Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/libraries/robot/lisp/lisp_api.robot')
-rw-r--r--resources/libraries/robot/lisp/lisp_api.robot35
1 files changed, 33 insertions, 2 deletions
diff --git a/resources/libraries/robot/lisp/lisp_api.robot b/resources/libraries/robot/lisp/lisp_api.robot
index 8094d08b84..4bd22bc036 100644
--- a/resources/libraries/robot/lisp/lisp_api.robot
+++ b/resources/libraries/robot/lisp/lisp_api.robot
@@ -16,6 +16,7 @@
| Library | resources.libraries.python.NodePath
| Library | resources.libraries.python.LispSetup.LispStatus
| Library | resources.libraries.python.LispSetup.LispSetup
+| Library | resources.libraries.python.LispSetup.LispGpeStatus
| Library | resources.libraries.python.LispUtil
*** Keywords ***
@@ -82,7 +83,7 @@
| | ... | \| Then Lisp locator_set is set correctly \| ${nodes['DUT1']} \|
| | ...
| | [Arguments] | ${dut_node}
-| | ${show_locator_set}= | Vpp Show Lisp Locator Set | ${dut_node}
+| | ${show_locator_set}= | Vpp Show Lisp Locator Set | ${dut_node} | local
| | Lisp Locator S Should Be Equal
| | ... | ${locator_set_values} | ${show_locator_set}
@@ -120,7 +121,7 @@
| | ... | \| Then Lisp locator_set should be unset \| ${nodes['DUT1']} \|
| | ...
| | [Arguments] | ${dut_node}
-| | ${show_locator_set}= | Vpp Show Lisp Locator Set | ${dut_node}
+| | ${show_locator_set}= | Vpp Show Lisp Locator Set | ${dut_node} | ${EMPTY}
| | Lisp Is Empty | ${show_locator_set}
| Lisp locator_set data use for test reset locator_set are prepared
@@ -359,3 +360,33 @@
| | [Arguments] | ${dut_node} | ${lisp_status_data}
| | ${show_lisp_stat}= | Vpp Show Lisp State | ${dut_node}
| | Lisp Should Be Equal | ${show_lisp_stat} | ${lisp_status_data[0]}
+
+| Enable Lisp Gpe
+| | [Documentation] | Enable Lisp Gpe on VPP node.
+| | ...
+| | ... | *Arguments:*
+| | ... | - dut_node - DUT node. Type: dictionary
+| | ...
+| | ... | *Return:*
+| | ... | - No value returned
+| | ...
+| | ... | *Example:*
+| | ... | \| Enable Lisp Gpe \| ${nodes['DUT1']} \|
+| | ...
+| | [Arguments] | ${dut_node}
+| | Vpp Lisp Gpe Enable Disable | ${dut_node} | enable
+
+| Disable Lisp Gpe
+| | [Documentation] | Disable Lisp Gpe on VPP node.
+| | ...
+| | ... | *Arguments:*
+| | ... | - dut_node - DUT node. Type: dictionary
+| | ...
+| | ... | *Return:*
+| | ... | - No value returned
+| | ...
+| | ... | *Example:*
+| | ... | \| Disable Lisp Gpe \| ${nodes['DUT1']} \|
+| | ...
+| | [Arguments] | ${dut_node}
+| | Vpp Lisp Gpe Enable Disable | ${dut_node} | disable