diff options
author | Peter Mikus <pmikus@cisco.com> | 2019-11-11 16:14:32 +0000 |
---|---|---|
committer | Peter Mikus <pmikus@cisco.com> | 2019-11-19 06:43:59 +0000 |
commit | e7ad66f3147662973039caaac33015de7e0c6f8c (patch) | |
tree | 809a056325425bad672a8a9274c3c2d696a35030 /resources/libraries/robot/honeycomb/dhcp.robot | |
parent | 20cc67d5f23a7f4e05b08012bf3d3a63be4bcf63 (diff) |
HONEYCOMB: Remove
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Change-Id: I60d80564050cb786c7b1e0a08f31f8292f82197e
Diffstat (limited to 'resources/libraries/robot/honeycomb/dhcp.robot')
-rw-r--r-- | resources/libraries/robot/honeycomb/dhcp.robot | 94 |
1 files changed, 0 insertions, 94 deletions
diff --git a/resources/libraries/robot/honeycomb/dhcp.robot b/resources/libraries/robot/honeycomb/dhcp.robot deleted file mode 100644 index 966c73f85c..0000000000 --- a/resources/libraries/robot/honeycomb/dhcp.robot +++ /dev/null @@ -1,94 +0,0 @@ -# Copyright (c) 2017 Cisco and/or its affiliates. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -*** Settings *** -| Library | resources.libraries.python.honeycomb.DHCP.DHCPRelayKeywords -| Library | resources.libraries.python.Dhcp.DhcpProxy -| Documentation | Keywords used to test Honeycomb DHCP features. - -*** Keywords *** -| DHCP relay Operational Data From Honeycomb Should Be empty -| | [Documentation] | Uses Honeycomb API to retrieve DHCP relay configuration\ -| | ... | and expects to fail. -| | ... -| | ... | *Arguments:* -| | ... | - node - information about a DUT node. Type: dictionary -| | ... -| | ... | *Example:* -| | ... -| | ... | \| DHCP relay Operational Data From Honeycomb Should Be empty \ -| | ... | \| ${nodes['DUT1']} \| -| | [Arguments] | ${node} -| | Run keyword and expect error | *Status code: 404* -| | ... | Get DHCP relay oper data | ${node} - -| Log DHCP relay configuration from VAT -| | [Documentation] | Uses VAT to retrieve DHCP relay configuration from VPP. -| | ... -| | ... | *Arguments:* -| | ... | - node - information about a DUT node. Type: dictionary -| | ... | - ip_version - IP protocol version, ipv4 or ipv6. Type: string -| | ... -| | ... | *Example:* -| | ... -| | ... | \| Log DHCP relay configuration from VAT \ -| | ... | \| ${nodes['DUT1']} \| ipv4 \| -| | [Arguments] | ${node} | ${ip_version} -| | VPP get DHCP proxy | ${node} | ${ip_version} - -| Honeycomb configures DHCP relay -| | [Documentation] | Uses Honeycomb API to configure DHCP relay. -| | ... -| | ... | *Arguments:* -| | ... | - node - information about a DUT node. Type: dictionary -| | ... | - data - settings for the DHCP relay. Type: dictionary -| | ... | - ip_version - IP protocol version, ipv4 or ipv6. Type: string -| | ... | - vrf - vrf ID to configure DHCP on. Type: integer -| | ... -| | ... | *Example:* -| | ... -| | ... | \| Honeycomb configures DHCP relay \| ${nodes['DUT1']} \| ${data} \ -| | ... | \| ipv4 \| ${0} \| -| | [Arguments] | ${node} | ${data} | ${ip_version} | ${vrf} -| | Add DHCP relay | ${node} | ${data} | ${ip_version} | ${vrf} - -| Honeycomb clears DHCP relay configuration -| | [Documentation] | Uses Honeycomb API to delete all configured DHCP relays. -| | ... -| | ... | *Arguments:* -| | ... | - node - information about a DUT node. Type: dictionary -| | ... -| | ... | *Example:* -| | ... -| | ... | \| Honeycomb clears DHCP relay configuration \| ${nodes['DUT1']} \| -| | [Arguments] | ${node} -| | Clear DHCP relay configuration | ${node} - -| DHCP relay configuration from Honeycomb should contain -| | [Documentation] | Retrieves oper data for DHCP relay and compares\ -| | ... | with provided values. -| | ... -| | ... | *Arguments:* -| | ... | - node - information about a DUT node. Type: dictionary -| | ... | - data - expected DHCP relay settings. Type dictionary -| | ... -| | ... | *Example:* -| | ... -| | ... | \| DHCP relay configuration from Honeycomb should contain \ -| | ... | \| ${nodes['DUT1']} \| ${data} \| -| | [Arguments] | ${node} | ${data} -| | ${oper_data}= | Get DHCP relay oper data | ${node} -| | ${oper_data}= | Set Variable | ${oper_data['relays']['relay'][0]} -| | Sort List | ${oper_data['server']} -| | Sort List | ${data['server']} -| | Should be equal | ${oper_data} | ${data} |