aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/robot/shared/testing_path.robot
diff options
context:
space:
mode:
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