1 # Copyright (c) 2017 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:
6 # http://www.apache.org/licenses/LICENSE-2.0
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.
15 | Library | resources.libraries.python.honeycomb.proxyARP.ProxyARPKeywords
16 | Documentation | Keywords used to test Honeycomb proxyARP.
19 | Honeycomb configures proxyARP
20 | | [Documentation] | Uses Honeycomb API to configure proxyARP for a specific\
21 | | ... | destination IP range.
23 | | ... | *Arguments:*
24 | | ... | - node - information about a DUT node. Type: dictionary
25 | | ... | - data - Configuration to use. Type: dictionary
29 | | ... | \| Honeycomb configures proxyARP \| ${nodes['DUT1']} \| ${data} \|
30 | | [Arguments] | ${node} | ${data}
31 | | Configure proxyARP | ${node} | ${data}
33 | Honeycomb removes proxyARP configuration
34 | | [Documentation] | Uses Honeycomb API to remove existing proxyARP\
35 | | ... | IP range configuration.
37 | | ... | *Arguments:*
38 | | ... | - node - information about a DUT node. Type: dictionary
42 | | ... | \| Honeycomb removes proxyARP configuration \| ${nodes['DUT1']} \|
43 | | [Arguments] | ${node}
44 | | Remove proxyARP configuration | ${node}
46 | Honeycomb enables proxyARP on interface
47 | | [Documentation] | Uses Honeycomb API to enable the proxyARP\
48 | | ... | feature on an interface.
50 | | ... | *Arguments:*
51 | | ... | - node - information about a DUT node. Type: dictionary
52 | | ... | - interface - name of an interface on the node. Type: string
56 | | ... | \| Honeycomb enables proxyARP on interface \| ${nodes['DUT1']} \
57 | | ... | \| GigabitEthernet0/8/0 \|
58 | | [Arguments] | ${node} | ${interface}
59 | | Set proxyARP interface config | ${node} | ${interface} | enable
61 | Honeycomb disables proxyARP on interface
62 | | [Documentation] | Uses Honeycomb API to disable the proxyARP\
63 | | ... | feature on an interface.
65 | | ... | *Arguments:*
66 | | ... | - node - information about a DUT node. Type: dictionary
67 | | ... | - interface - name of an interface on the node. Type: string
71 | | ... | \| Honeycomb disables proxyARP on interface \| ${nodes['DUT1']} \
72 | | ... | \| GigabitEthernet0/8/0 \|
73 | | [Arguments] | ${node} | ${interface}
74 | | Set proxyARP interface config | ${node} | ${interface} | disable