d2245c3f9ac1798e446acd96cca3b5d94c516989
[csit.git] / resources / libraries / robot / overlay / lisp_api.robot
1 # Copyright (c) 2020 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14 *** Settings ***
15 | Resource | resources/libraries/robot/shared/interfaces.robot
16 |
17 | Library  | resources.libraries.python.NodePath
18 | Library  | resources.libraries.python.LispSetup.LispStatus
19 | Library  | resources.libraries.python.LispSetup.LispGpeStatus
20
21 *** Keywords ***
22 | Enable LISP
23 | | [Documentation] | Enable LISP on VPP node.
24 | |
25 | | ... | *Arguments:*
26 | | ... | - dut_node - DUT node. Type: dictionary
27 | |
28 | | ... | *Return:*
29 | | ... | - No value returned
30 | |
31 | | ... | *Example:*
32 | | ... | \| Enable LISP \| ${nodes['DUT1']} \|
33 | |
34 | | [Arguments] | ${dut_node}
35 | | Vpp Lisp Enable Disable | ${dut_node} | enable
36
37 | Disable LISP
38 | | [Documentation] | Disable LISP on VPP node.
39 | |
40 | | ... | *Arguments:*
41 | | ... | - dut_node - DUT node. Type: dictionary
42 | |
43 | | ... | *Return:*
44 | | ... | - No value returned
45 | |
46 | | ... | *Example:*
47 | | ... | \| Disable LISP \| ${nodes['DUT1']} \|
48 | |
49 | | [Arguments] | ${dut_node}
50 | | Vpp Lisp Enable Disable | ${dut_node} | disable
51
52
53 | Enable Lisp Gpe
54 | | [Documentation] | Enable Lisp Gpe on VPP node.
55 | |
56 | | ... | *Arguments:*
57 | | ... | - dut_node - DUT node. Type: dictionary
58 | |
59 | | ... | *Return:*
60 | | ... | - No value returned
61 | |
62 | | ... | *Example:*
63 | | ... | \| Enable Lisp Gpe \| ${nodes['DUT1']} \|
64 | |
65 | | [Arguments] | ${dut_node}
66 | | Vpp Lisp Gpe Enable Disable | ${dut_node} | enable