CSIT-663: Remove unused keywords 40/7040/6
authorTibor Frank <tifrank@cisco.com>
Wed, 7 Jun 2017 12:26:59 +0000 (14:26 +0200)
committerTibor Frank <tifrank@cisco.com>
Fri, 9 Jun 2017 07:01:34 +0000 (07:01 +0000)
Change-Id: Ib3f0edb0c3a48a760040886e5aedce81c9baeac2
Signed-off-by: Tibor Frank <tifrank@cisco.com>
resources/libraries/robot/default.robot
resources/libraries/robot/honeycomb/bridge_domain.robot
resources/libraries/robot/honeycomb/nat.robot
resources/libraries/robot/honeycomb/nsh.robot
resources/libraries/robot/honeycomb/provider_backbone_bridge.robot
resources/libraries/robot/honeycomb/sub_interface.robot
resources/libraries/robot/ipv4.robot
resources/libraries/robot/ipv6.robot
resources/libraries/robot/vxlan.robot

index c660736..d6952db 100644 (file)
 | | Add CPU config | ${dut1} | ${dut1_cpu}
 | | Add rxqueues config | ${dut1} | ${rxqueues}
 
 | | Add CPU config | ${dut1} | ${dut1_cpu}
 | | Add rxqueues config | ${dut1} | ${rxqueues}
 
-| Add worker threads and rxqueues to all DUTs
-| | [Documentation] | Setup worker threads and rxqueues in VPP startup\
-| | ... | configuration to all DUTs.
-| | ...
-| | ... | *Arguments:*
-| | ... | - ${cpu} - CPU configuration. Type: string
-| | ... | - ${rxqueues} - rxqueues configuration. Type: string
-| | ...
-| | ... | *Example:*
-| | ...
-| | ... | \| Add worker threads and rxqueues to all DUTs \| main-core 0 \
-| | ... | \| rxqueues 2 \|
-| | ...
-| | [Arguments] | ${cpu} | ${rxqueues}
-| | ...
-| | ${duts}= | Get Matches | ${nodes} | DUT*
-| | :FOR | ${dut} | IN | @{duts}
-| | | Add CPU config | ${nodes['${dut}']} | ${cpu}
-| | | Add rxqueues config | ${nodes['${dut}']} | ${rxqueues}
-
 | Add all PCI devices to all DUTs
 | | [Documentation] | Add all available PCI devices from topology file to VPP\
 | | ... | startup configuration to all DUTs.
 | Add all PCI devices to all DUTs
 | | [Documentation] | Add all available PCI devices from topology file to VPP\
 | | ... | startup configuration to all DUTs.
 | | | Add SNAT Config | ${nodes['${dut}']}
 
 | Add cryptodev to all DUTs
 | | | Add SNAT Config | ${nodes['${dut}']}
 
 | Add cryptodev to all DUTs
-| | [Documentation] | AddCryptodev to VPP startup configuration to all
-| | ...             | DUTs
+| | [Documentation] | AddCryptodev to VPP startup configuration to all DUTs.
 | | ...
 | | ... | *Arguments:*
 | | ... | - ${count} - Number of QAT devices. Type: integer
 | | ...
 | | ... | *Arguments:*
 | | ... | - ${count} - Number of QAT devices. Type: integer
 | | Add all PCI devices to all DUTs
 | | Apply startup configuration on all VPP DUTs
 
 | | Add all PCI devices to all DUTs
 | | Apply startup configuration on all VPP DUTs
 
-| Setup 2-node startup configuration of VPP on all DUTs
-| | [Documentation] | Setup default startup configuration of VPP to all DUTs.
-| | ...
-| | Remove startup configuration of VPP from all DUTs
-| | Add '1' worker threads and '1' rxqueues in 2-node single-link circular topology
-| | Add all PCI devices to all DUTs
-| | Apply startup configuration on all VPP DUTs
-
 | Apply startup configuration on all VPP DUTs
 | | [Documentation] | Apply startup configuration of VPP and restart VPP on all\
 | | ... | DUTs.
 | Apply startup configuration on all VPP DUTs
 | | [Documentation] | Apply startup configuration of VPP and restart VPP on all\
 | | ... | DUTs.
index 8f17eda..e680e82 100644 (file)
 | | | Should contain | ${if_indices} | ${interface['sw_if_index']}
 | | | Should be equal | ${interface['shg']} | ${settings['split_horizon_group']}
 
 | | | 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.
 | Honeycomb removes all bridge domains
 | | [Documentation] | Uses Honeycomb API to remove all bridge domains from the \
 | | ... | VPP node.
 | | ${if_data}= | interfaceAPI.Get BD Oper Data From Interface
 | | ... | ${node} | ${interface}
 | | interfaceAPI.Compare Data Structures | ${if_data} | ${bd_settings}
 | | ${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}
index 81bffe6..2b79c1b 100644 (file)
 | | ... | ${data['nat-instances']['nat-instance'][${instance}]['mapping-table']}
 | | Compare data structures | ${data} | ${settings}
 
 | | ... | ${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.
 | | ...
 | Honeycomb configures NAT on interface
 | | [Documentation] | Uses Honeycomb API to configure NAT on an interface.
 | | ...
index 434c72f..fbb5b89 100644 (file)
 | | ${oper_data}= | Get NSH oper data | ${node} | map_name=${name}
 | | Compare data structures | ${oper_data} | ${data}
 
 | | ${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.
 | | ...
 | NSH map from Honeycomb should not exist
 | | [Documentation] | Retrieves oper data for NSH map and expects to fail.
 | | ...
index 7385f1c..bb8aa78 100644 (file)
 | | ...
 | | Delete PBB Sub Interface | ${node} | ${super_if}
 
 | | ...
 | | 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.
 | Honeycomb fails to create PBB sub-interface
 | | [Documentation] | Uses Honeycomb API to set PBB sub-interface with wrong\
 | | ... | parameter(s) and expects to fail.
index 1b1b800..4b93de9 100644 (file)
 | | ... | interfaceAPI.Configure tag rewrite
 | | ... | ${node} | ${super_if} | ${identifier} | ${settings}
 
 | | ... | 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.
 | 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.
index d200afd..3fa522f 100644 (file)
@@ -57,9 +57,6 @@
 | | Configure routes for IPv4 test | ${nodes} | ${nodes_ipv4_addr}
 | | All Vpp Interfaces Ready Wait | ${nodes}
 
 | | Configure routes for IPv4 test | ${nodes} | ${nodes_ipv4_addr}
 | | All Vpp Interfaces Ready Wait | ${nodes}
 
-| TG interface "${tg_port}" can route to node "${node}" interface "${port}" "${hops}" hops away using IPv4
-| | Node "${nodes['TG']}" interface "${tg_port}" can route to node "${node}" interface "${port}" "${hops}" hops away using IPv4
-
 | Route traffic from interface '${from_port}' on node '${from_node}' to interface '${to_port}' on node '${to_node}' '${hops}' hops away using IPv4
 | | ${src_ip}= | Get IPv4 address of node "${from_node}" interface "${from_port}" from "${nodes_ipv4_addr}"
 | | ${dst_ip}= | Get IPv4 address of node "${to_node}" interface "${to_port}" from "${nodes_ipv4_addr}"
 | Route traffic from interface '${from_port}' on node '${from_node}' to interface '${to_port}' on node '${to_node}' '${hops}' hops away using IPv4
 | | ${src_ip}= | Get IPv4 address of node "${from_node}" interface "${from_port}" from "${nodes_ipv4_addr}"
 | | ${dst_ip}= | Get IPv4 address of node "${to_node}" interface "${to_port}" from "${nodes_ipv4_addr}"
 
 | Configure IP addresses on interfaces
 | | [Documentation] | Iterates through @{args} list and Set Interface Address
 
 | Configure IP addresses on interfaces
 | | [Documentation] | Iterates through @{args} list and Set Interface Address
-| | ...             | for every (${dut_node}, ${interface}, ${address},
-| | ...             | ${prefix}) tuple.
+| | ... | for every (${dut_node}, ${interface}, ${address},
+| | ... | ${prefix}) tuple.
 | | ...
 | | ... | *Arguments:*
 | | ... | - ${dut_node} - Node where IP address should be set to.
 | | ...
 | | ... | *Arguments:*
 | | ... | - ${dut_node} - Node where IP address should be set to.
-| | ... |   Type: dictionary
+| | ... | Type: dictionary
 | | ... | - ${interface} - Interface name. Type: string
 | | ... | - ${address} - IP address. Type: string
 | | ... | - ${prefix} - Prefix length. Type: integer
 | | ... | - ${interface} - Interface name. Type: string
 | | ... | - ${address} - IP address. Type: string
 | | ... | - ${prefix} - Prefix length. Type: integer
 
 | Send ICMP echo request and verify answer
 | | [Documentation] | Run traffic script that waits for ICMP reply and ignores
 
 | Send ICMP echo request and verify answer
 | | [Documentation] | Run traffic script that waits for ICMP reply and ignores
-| | ...             | all other packets.
+| | ... | all other packets.
 | | ...
 | | ... | *Arguments:*
 | | ... | - tg_node - TG node where run traffic script. Type: dictionary
 | | ... | - tg_interface - TG interface where send ICMP echo request.
 | | ...
 | | ... | *Arguments:*
 | | ... | - tg_node - TG node where run traffic script. Type: dictionary
 | | ... | - tg_interface - TG interface where send ICMP echo request.
-| | ... |   Type: string
+| | ... | Type: string
 | | ... | - dst_mac - Destination MAC address. Type: string
 | | ... | - src_mac - Source MAC address. Type: string
 | | ... | - dst_ip - Destination IP address. Type: string
 | | ... | - dst_mac - Destination MAC address. Type: string
 | | ... | - src_mac - Source MAC address. Type: string
 | | ... | - dst_ip - Destination IP address. Type: string
index 35905af..b82c995 100644 (file)
@@ -48,7 +48,7 @@
 | Execute IPv6 ICMP echo sweep
 | | [Documentation] | Type of the src_node must be TG and dst_node must be DUT
 | | [Arguments] | ${src_node} | ${dst_node} | ${start_size} | ${end_size}
 | Execute IPv6 ICMP echo sweep
 | | [Documentation] | Type of the src_node must be TG and dst_node must be DUT
 | | [Arguments] | ${src_node} | ${dst_node} | ${start_size} | ${end_size}
-| | ...         | ${step} | ${nodes_addr}
+| | ... | ${step} | ${nodes_addr}
 | | Append Nodes | ${src_node} | ${dst_node}
 | | Compute Path
 | | ${src_port} | ${src_node}= | First Interface
 | | Append Nodes | ${src_node} | ${dst_node}
 | | Compute Path
 | | ${src_port} | ${src_node}= | First Interface
 
 | Ipv6 tg to tg routed
 | | [Documentation] | Send traffic from one TG port to another through DUT nodes
 
 | Ipv6 tg to tg routed
 | | [Documentation] | Send traffic from one TG port to another through DUT nodes
-| | ...             | and send reply back, also verify hop limit processing
+| | ... | and send reply back, also verify hop limit processing
 | | [Arguments] | ${tg_node} | ${first_dut} | ${second_dut} | ${nodes_addr}
 | | Append Nodes | ${tg_node} | ${first_dut} | ${second_dut} | ${tg_node}
 | | Compute Path
 | | [Arguments] | ${tg_node} | ${first_dut} | ${second_dut} | ${nodes_addr}
 | | Append Nodes | ${tg_node} | ${first_dut} | ${second_dut} | ${tg_node}
 | | Compute Path
 | | | Set Interface State | @{interface} | up | if_type=name
 | | All Vpp Interfaces Ready Wait | ${nodes}
 
 | | | Set Interface State | @{interface} | up | if_type=name
 | | All Vpp Interfaces Ready Wait | ${nodes}
 
-| Clear ipv6 on all dut in topology
-| | [Documentation] | Remove IPv6 address on all DUTs
-| | [Arguments] | ${nodes} | ${nodes_addr}
-| | Nodes Clear Ipv6 Addresses | ${nodes} | ${nodes_addr}
-
 | Suppress ICMPv6 router advertisement message
 | | [Documentation] | Suppress ICMPv6 router advertisement message for link scope address
 | | [Arguments] | ${nodes}
 | Suppress ICMPv6 router advertisement message
 | | [Documentation] | Suppress ICMPv6 router advertisement message for link scope address
 | | [Arguments] | ${nodes}
index 27c9c7c..0c149fd 100644 (file)
 | | Add IP Neighbor | ${DUT1} | ${DUT1_INT_INDEX} | ${dut2s_ip_address} | ${DUT2_INT_MAC}
 | | Add IP Neighbor | ${DUT2} | ${DUT2_INT_INDEX} | ${dut1s_ip_address} | ${DUT1_INT_MAC}
 
 | | Add IP Neighbor | ${DUT1} | ${DUT1_INT_INDEX} | ${dut2s_ip_address} | ${DUT2_INT_MAC}
 | | Add IP Neighbor | ${DUT2} | ${DUT2_INT_INDEX} | ${dut1s_ip_address} | ${DUT1_INT_MAC}
 
-| VXLAN interface is created
-| | [Arguments] | ${DUT} | ${VNI} | ${SRC_IP} | ${DST_IP}
-| | Create VXLAN interface | ${DUT} | ${VNI} | ${SRC_IP} | ${DST_IP}
-
 | Add interfaces to L2BD
 | | [Arguments] | ${DUT} | ${BID} | ${INTERFACE_1} | ${INTERFACE_2}
 | | Vpp Add L2 Bridge Domain | ${DUT} | ${BID} | ${INTERFACE_1} | ${INTERFACE_2}
 | Add interfaces to L2BD
 | | [Arguments] | ${DUT} | ${BID} | ${INTERFACE_1} | ${INTERFACE_2}
 | | Vpp Add L2 Bridge Domain | ${DUT} | ${BID} | ${INTERFACE_1} | ${INTERFACE_2}
 | | ... | - tx_dst_mac - Destination MAC address of sent packet. Type: string
 | | ... | - tx_src_ip - Source IP address of sent VXLAN packet. Type: string
 | | ... | - tx_dst_ip - Destination IP address of sent VXLAN packet.
 | | ... | - tx_dst_mac - Destination MAC address of sent packet. Type: string
 | | ... | - tx_src_ip - Source IP address of sent VXLAN packet. Type: string
 | | ... | - tx_dst_ip - Destination IP address of sent VXLAN packet.
-| | ... |   Type: string
+| | ... | Type: string
 | | ... | - tx_vni - VNI of sent VXLAN packet. Type: string
 | | ... | - rx_src_ip - Source IP address of received VXLAN packet. Type: string
 | | ... | - rx_dst_ip - Destination IP address of received VXLAN packet.
 | | ... | - tx_vni - VNI of sent VXLAN packet. Type: string
 | | ... | - rx_src_ip - Source IP address of received VXLAN packet. Type: string
 | | ... | - rx_dst_ip - Destination IP address of received VXLAN packet.
-| | ... |   Type: string
+| | ... | Type: string
 | | ... | - rx_vni - VNI of received VXLAN packet. Type: string
 | | ...
 | | ... | *Return:*
 | | ... | - rx_vni - VNI of received VXLAN packet. Type: string
 | | ...
 | | ... | *Return:*