aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/shared/testing_path.robot
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2018-12-03 09:08:09 +0100
committerJan Gelety <jgelety@cisco.com>2018-12-07 18:27:47 +0100
commitf9041bcdc886ba08800fe11c32e218d98ef6ed33 (patch)
tree933ba904fd78d3d0a7e84f0ec9971ade010accf5 /resources/libraries/robot/shared/testing_path.robot
parent6190dd3186cf42543c2c5cd2406c7f4c8f3f2845 (diff)
VPP_Device - add baseline tests - part I
CSIT-1370 Add following baseline tests to VPP_Device: - ip4 eth2p-ethip4-ip4base-dev - ip6 eth2p-ethip6-ip6base-dev - l2bd eth2p-eth-l2bdbasemaclrn-dev Change-Id: Ic20000eb38c5511c27d020f3aa76b2620d7f7ef9 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/robot/shared/testing_path.robot')
-rw-r--r--resources/libraries/robot/shared/testing_path.robot33
1 files changed, 30 insertions, 3 deletions
diff --git a/resources/libraries/robot/shared/testing_path.robot b/resources/libraries/robot/shared/testing_path.robot
index b7543e1c4d..ec0c856c81 100644
--- a/resources/libraries/robot/shared/testing_path.robot
+++ b/resources/libraries/robot/shared/testing_path.robot
@@ -1,4 +1,4 @@
-# Copyright (c) 2016 Cisco and/or its affiliates.
+# Copyright (c) 2018 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:
@@ -329,7 +329,7 @@
| | ... | - No value returned.
| | ...
| | ... | _NOTE:_ This KW uses test variables sets in
-| | ... | "Configure path in double-link 3-node circular topology" KW.
+| | ... | "Configure path in double-link 3-node circular topology" KW.
| | ...
| | ... | *Example:*
| | ...
@@ -350,4 +350,31 @@
| | Set Interface State | ${dut2_node} | ${dut2_to_dut1_if1} | up
| | Set Interface State | ${dut2_node} | ${dut2_to_dut1_if2} | up
| | Vpp Node Interfaces Ready Wait | ${dut1_node}
-| | Vpp Node Interfaces Ready Wait | ${dut2_node} \ No newline at end of file
+| | Vpp Node Interfaces Ready Wait | ${dut2_node}
+
+| Set interfaces in path up
+| | [Documentation]
+| | ... | Set UP state on interfaces in 2-node or 3-node path on nodes and \
+| | ... | wait until all interfaces are ready.
+| | ...
+| | ... | *Arguments:*
+| | ... | - No arguments.
+| | ...
+| | ... | *Return:*
+| | ... | - No value returned.
+| | ...
+| | ... | _NOTE:_ This KW uses test variables sets in\
+| | ... | "Configure path in 2-node circular topology" or\
+| | ... | "Configure path in 3-node circular topology" KW.
+| | ...
+| | ... | *Example:*
+| | ...
+| | ... | \| Set interfaces in path up \|
+| | ...
+| | ${dut2_status} | ${value}= | Run Keyword And Ignore Error
+| | ... | Variable Should Exist | ${dut2}
+| | ...
+| | Run Keyword If | '${dut2_status}' == 'PASS'
+| | ... | Set interfaces in 3-node circular topology up
+| | ... | ELSE
+| | ... | Set interfaces in 2-node circular topology up