Merge "Add test-scheduler dir to verity"
[bottlenecks.git] / testing-scheduler / server / test / test_case / logic_in_out / tc_io_02.yaml
1 ##############################################################################\r
2 # Copyright (c) 2018 HUAWEI TECHNOLOGIES CO.,LTD and others.\r
3 #\r
4 # All rights reserved. This program and the accompanying materials\r
5 # are made available under the terms of the Apache License, Version 2.0\r
6 # which accompanies this distribution, and is available at\r
7 # http://www.apache.org/licenses/LICENSE-2.0\r
8 ##############################################################################\r
9 \r
10 ---\r
11 # description: test switch and step-2 used step-1's output\r
12 \r
13 schema:\r
14   steps:\r
15     -\r
16       id: 1\r
17       name: get-switch\r
18       service:\r
19         name: greet\r
20         interface: switch\r
21       args:\r
22         name: leo\r
23 \r
24     -\r
25       id: 2\r
26       name: greet1\r
27       service:\r
28         name: greet\r
29         interface: answer\r
30       args:\r
31         ping: ((1.result))\r
32 \r
33     -\r
34       id: 3\r
35       name: greet2\r
36       service:\r
37         name: greet\r
38         interface: answer\r
39       args:\r
40         ping: ping_from_Leo_2\r
41 \r
42   flows:\r
43     -\r
44       name: main\r
45       orders:\r
46         -\r
47           type: normal\r
48           step: 1\r
49         -\r
50           type: switch\r
51           value: ((1.result))\r
52           cases:\r
53             A:\r
54               -\r
55                 type: normal\r
56                 step: 2\r
57             B:\r
58               -\r
59                 type: normal\r
60                 step: 3