Python3: resources and libraries
[csit.git] / resources / libraries / robot / overlay / vxlan.robot
index 06c8e94..f98514e 100644 (file)
 # limitations under the License.
 
 *** Settings ***
-| Library  | Collections
 | Library  | resources.libraries.python.InterfaceUtil
-| Library  | resources.libraries.python.IPUtil
-| Library  | resources.libraries.python.IPv6Util
-| Library  | resources.libraries.python.L2Util
-| Library  | resources.libraries.python.NodePath
-| ...
-| Resource | resources/libraries/robot/l2/l2_bridge_domain.robot
-| Resource | resources/libraries/robot/l2/l2_xconnect.robot
-| Resource | resources/libraries/robot/shared/default.robot
-| Resource | resources/libraries/robot/shared/interfaces.robot
-| ...
-| Documentation | VXLAN keywords
+|
+| Documentation | VXLAN keywords.
 
 *** Keywords ***
-| Create vlan interfaces for VXLAN
-| | [Documentation] | *Create VLAN subinterface on interfaces on DUTs with given
-| | ... | VLAN ID.*
-| | ...
-| | ... | _Set testcase variables with name and index of created interfaces:_
-| | ... | - ${dut1s_vlan_name}
-| | ... | - ${dut1s_vlan_index}
-| | ... | - ${dut2s_vlan_name}
-| | ... | - ${dut2s_vlan_index}
-| | ...
-| | [Arguments] | ${VLAN} | ${DUT1} | ${INT1} | ${DUT2} | ${INT2}
-| | ${INT1_NAME}= | Get interface name | ${DUT1} | ${INT1}
-| | ${INT2_NAME}= | Get interface name | ${DUT2} | ${INT2}
-| | ${dut1s_vlan_name} | ${dut1s_vlan_index}= | Create Vlan Subinterface
-| | ... | ${DUT1} | ${INT1_NAME} | ${VLAN}
-| | ${dut2s_vlan_name} | ${dut2s_vlan_index}= | Create Vlan Subinterface
-| | ... | ${DUT2} | ${INT2_NAME} | ${VLAN}
-| | Set Interface State | ${DUT1} | ${dut1s_vlan_index} | up
-| | Set Interface State | ${DUT2} | ${dut2s_vlan_index} | up
-| | Set Test Variable | ${dut1s_vlan_name}
-| | Set Test Variable | ${dut1s_vlan_index}
-| | Set Test Variable | ${dut2s_vlan_name}
-| | Set Test Variable | ${dut2s_vlan_index}
-
 | Get VXLAN dump
 | | [Documentation] | Get VXLAN dump.
-| | ...
+| |
 | | ... | *Arguments:*
 | | ... | - node - DUT node data. Type: dictionary
 | | ... | - interface - Interface on the VPP node (Optional). Type: string
-| | ...
+| |
 | | [Arguments] | ${dut_node} | ${interface}=${None}
-| | ...
+| |
 | | [Return] | ${vxlan_dump}
-| | ...
+| |
 | | ${vxlan_dump}= | VXLAN Dump | ${dut_node} | ${interface}