diff options
author | Tibor Frank <tifrank@cisco.com> | 2017-06-07 14:26:59 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-06-09 07:01:34 +0000 |
commit | 4e565011b2e53f99fb78e1143e6543b3427de79a (patch) | |
tree | 2ec2a188bae386ef364e832776a3a7e946f62f89 /resources/libraries/robot/honeycomb | |
parent | 5ce772f3b2d83c31eda5c2abdcd6cc4547ecc6c8 (diff) |
CSIT-663: Remove unused keywords
Change-Id: Ib3f0edb0c3a48a760040886e5aedce81c9baeac2
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/libraries/robot/honeycomb')
5 files changed, 0 insertions, 136 deletions
diff --git a/resources/libraries/robot/honeycomb/bridge_domain.robot b/resources/libraries/robot/honeycomb/bridge_domain.robot index 8f17edafc2..e680e82ad4 100644 --- a/resources/libraries/robot/honeycomb/bridge_domain.robot +++ b/resources/libraries/robot/honeycomb/bridge_domain.robot @@ -178,39 +178,6 @@ | | | Should contain | ${if_indices} | ${interface['sw_if_index']} | | | Should be equal | ${interface['shg']} | ${settings['split_horizon_group']} -| Honeycomb should not show interfaces assigned to bridge domain -| | [Documentation] | Uses Honeycomb API to verify interfaces are not assigned\ -| | ... | to bridge domain. -| | ... -| | ... | *Arguments:* -| | ... | - node - Information about a DUT node. Type: dictionary -| | ... | - interface1, interface2 - Names of interfaces to check\ -| | ... | bridge domain assignment on. Type: string -| | ... | - bd_name - Name of the bridge domain. Type: string -| | ... -| | ... | *Example:* -| | ... -| | ... | \| Honeycomb should not show interfaces assigned to bridge domain \ -| | ... | \| ${nodes['DUT1']} \| GigabitEthernet0/8/0 \| GigabitEthernet0/9/0 \ -| | ... | \| bd-04 \| -| | [Arguments] | ${node} | ${interface1} | ${interface2} | ${bd_name} -| | ${if1_data_oper}= | interfaceAPI.Get interface oper data -| | ... | ${node} | ${interface1} -| | ${if2_data_oper}= | interfaceAPI.Get interface oper data -| | ... | ${node} | ${interface2} -| | ${if1_data_cfg}= -| | ... | interfaceAPI.Get interface cfg data | ${node} | ${interface1} -| | ${if1_data_cfg}= -| | ... | interfaceAPI.Get interface cfg data | ${node} | ${interface2} -| | Run keyword and expect error | *KeyError: 'v3po:l2'* -| | ... | Set Variable | ${if1_data_oper['v3po:l2']} -| | Run keyword and expect error | *KeyError: 'v3po:l2'* -| | ... | Set Variable | ${if2_data_oper['v3po:l2']} -| | Run keyword and expect error | *KeyError: 'v3po:l2'* -| | ... | Set Variable | ${if1_data_cfg['v3po:l2']} -| | Run keyword and expect error | *KeyError: 'v3po:l2'* -| | ... | Set Variable | ${if2_data_cfg['v3po:l2']} - | Honeycomb removes all bridge domains | | [Documentation] | Uses Honeycomb API to remove all bridge domains from the \ | | ... | VPP node. @@ -316,18 +283,3 @@ | | ${if_data}= | interfaceAPI.Get BD Oper Data From Interface | | ... | ${node} | ${interface} | | interfaceAPI.Compare Data Structures | ${if_data} | ${bd_settings} - -| VAT removes bridge domain -| | [Documentation] Remove the specified bridge domain using VAT. -| | ... -| | ... | *Arguments:* -| | ... | - node - Information about a DUT node. Type: dictionary -| | ... | - bd_id - Bridge domain ID. Type: integer -| | ... -| | ... | *Example:* -| | ... | \| VAT removes bridge domain \ -| | ... | \| ${nodes['DUT1']} \| 1 \| -| | ... -| | [Arguments] | ${node} | ${bd_id} -| | ... -| | Delete Bridge Domain VAT | ${node} | ${bd_id} diff --git a/resources/libraries/robot/honeycomb/nat.robot b/resources/libraries/robot/honeycomb/nat.robot index 81bffe66d7..2b79c1b407 100644 --- a/resources/libraries/robot/honeycomb/nat.robot +++ b/resources/libraries/robot/honeycomb/nat.robot @@ -69,22 +69,6 @@ | | ... | ${data['nat-instances']['nat-instance'][${instance}]['mapping-table']} | | Compare data structures | ${data} | ${settings} -| NAT entries from VAT should be -| | [Documentation] | Uses VPP test API to retrieve NAT entries\ -| | ... | and compares against expected settings. -| | ... -| | ... | *Arguments:* -| | ... | - node - information about a DUT node. Type: dictionary -| | ... | - settings - NAT entry to expect. Type: dictionary -| | ... -| | ... | *Example:* -| | ... -| | ... | \| NAT entries from VAT should be \| ${nodes['DUT1']} \ -| | ... | \| ${settings} \| -| | [Arguments] | ${node} | ${settings} -| | ${data}= | VPP get NAT static mappings | ${node} -| | Compare data structures | ${data} | ${settings} - | Honeycomb configures NAT on interface | | [Documentation] | Uses Honeycomb API to configure NAT on an interface. | | ... diff --git a/resources/libraries/robot/honeycomb/nsh.robot b/resources/libraries/robot/honeycomb/nsh.robot index 434c72f516..fbb5b89567 100644 --- a/resources/libraries/robot/honeycomb/nsh.robot +++ b/resources/libraries/robot/honeycomb/nsh.robot @@ -124,21 +124,6 @@ | | ${oper_data}= | Get NSH oper data | ${node} | map_name=${name} | | Compare data structures | ${oper_data} | ${data} -| NSH entry from Honeycomb should not exist -| | [Documentation] | Retrieves oper data for NSH entry and expects to fail. -| | ... -| | ... | *Arguments:* -| | ... | - node - information about a DUT node. Type: dict -| | ... | - name - name of the NSH entry. Type: string -| | ... -| | ... | *Example:* -| | ... -| | ... | \| NSH entry from Honeycomb should not exist \| ${nodes['DUT1']} \ -| | ... | \| nsh_1 \| -| | [Arguments] | ${node} | ${name} -| | Run keyword and expect error | *Status code: 404* -| | ... | Get NSH oper data | ${node} | entry_name=${name} - | NSH map from Honeycomb should not exist | | [Documentation] | Retrieves oper data for NSH map and expects to fail. | | ... diff --git a/resources/libraries/robot/honeycomb/provider_backbone_bridge.robot b/resources/libraries/robot/honeycomb/provider_backbone_bridge.robot index 7385f1c15f..bb8aa78f41 100644 --- a/resources/libraries/robot/honeycomb/provider_backbone_bridge.robot +++ b/resources/libraries/robot/honeycomb/provider_backbone_bridge.robot @@ -54,46 +54,6 @@ | | ... | | Delete PBB Sub Interface | ${node} | ${super_if} -| PBB Sub Interface Operational Data From Honeycomb Should Be -| | [Documentation] | Retrieves PBB sub-interface operational data from -| | ... | Honeycomb and compares with expected configuration. -| | ... -| | ... | *Arguments:* -| | ... | - node - Information about a DUT node. Type: dictionary -| | ... | - super_if - Super-interface. Type: string -| | ... | - sub_if_id - Sub-interface ID. Type: string -| | ... | - expected_params - Expected operational data. Type: dictionary -| | ... -| | ... | *Example:* -| | ... | \| PBB sub interface operational data from Honeycomb should be\ -| | ... | \| ${node} \| ${super_if} \| ${cfg_pbb_sub_if_1_ID}\ -| | ... | \| ${oper_pbb_sub_if_1} \| -| | ... -| | [Arguments] | ${node} | ${super_if} | ${sub_if_id} | ${expected_params} -| | ... -| | ${data}= | IfAPI.Get PBB Sub Interface Oper Data -| | ... | ${node} | ${super_if} | ${sub_if_id} -| | Compare data structures | ${data} | ${expected_params} - -| PBB Sub Interface Operational Data From Honeycomb Should Be Empty -| | [Documentation] | Retrieves interface BPP configuration from Honeycomb,\ -| | ... | and expects an empty dictionary. -| | ... -| | ... | *Arguments:* -| | ... | - node - Information about a DUT node. Type: dictionary -| | ... | - super_if - Super-interface. Type: string -| | ... | - sub_if_id - Sub-interface ID. Type: string -| | ... -| | ... | *Example:* -| | ... | \| PBB sub interface operational data from Honeycomb should be empty\ -| | ... | \| ${node} \| ${super_if} \| ${cfg_pbb_sub_if_1_ID} \| -| | ... -| | [Arguments] | ${node} | ${super_if} | ${sub_if_id} -| | ... -| | ${data}= | IfAPI.Get PBB Sub Interface Oper Data -| | ... | ${node} | ${super_if} | ${sub_if_id} -| | Should be empty | ${data} - | Honeycomb fails to create PBB sub-interface | | [Documentation] | Uses Honeycomb API to set PBB sub-interface with wrong\ | | ... | parameter(s) and expects to fail. diff --git a/resources/libraries/robot/honeycomb/sub_interface.robot b/resources/libraries/robot/honeycomb/sub_interface.robot index 1b1b80049b..4b93de9b8c 100644 --- a/resources/libraries/robot/honeycomb/sub_interface.robot +++ b/resources/libraries/robot/honeycomb/sub_interface.robot @@ -432,23 +432,6 @@ | | ... | interfaceAPI.Configure tag rewrite | | ... | ${node} | ${super_if} | ${identifier} | ${settings} -| VAT disables tag-rewrite -| | [Documentation] | The keyword disables the tag-rewrite using VAT. -| | ... -| | ... | *Arguments:* -| | ... | - node - Information about a DUT node. Type: dictionary -| | ... | - sub_interface - Name of an sub-interface on the specified node.\ -| | ... | Type: string -| | ... -| | ... | *Example:* -| | ... | \| VAT disables tag-rewrite\ -| | ... | \| ${nodes['DUT1']} \| GigabitEthernet0/8/0.1 \| -| | ... -| | [Arguments] | ${node} | ${sub_interface} -| | ... -| | ${sw_if_index}= | interfaceCLI.Get sw if index | ${node} | ${sub_interface} -| | L2 tag rewrite | ${node} | ${sw_if_index} | disable - | Honeycomb sets sub-interface ipv4 address | | [Documentation] | Uses Honeycomb API to configure an ipv4 address on the\ | | ... | spcified sub-interface. Replaces any existing ipv4 addresses. |