blob: 1a5e5826156c73ea55a816cc5fd12d521f982aa7 [file] [log] [blame]
Jordan Halterman31344592018-07-02 17:48:03 -07001<!--
2 ~ Copyright 2018-present Open Networking Foundation
3 ~
4 ~ Licensed under the Apache License, Version 2.0 (the "License");
5 ~ you may not use this file except in compliance with the License.
6 ~ You may obtain a copy of the License at
7 ~
8 ~ http://www.apache.org/licenses/LICENSE-2.0
9 ~
10 ~ Unless required by applicable law or agreed to in writing, software
11 ~ distributed under the License is distributed on an "AS IS" BASIS,
12 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 ~ See the License for the specific language governing permissions and
14 ~ limitations under the License.
15 -->
16
17<scenario name="distributed-proxy-test"
18 description="ONOS Proxy Test">
19 <group name="Distributed-Proxy" if="${OC2}">
20
21 <step name="Distributed-Proxy.Test-Node-Sync"
22 exec="onos-execute-expect ${OCI} proxy-test sync node ${OC2} foo --expect foo"/>
23
24 <step name="Distributed-Proxy.Test-Node-Async"
25 requires="Distributed-Proxy.Test-Node-Sync"
26 exec="onos-execute-expect ${OCI} proxy-test async node ${OC2} bar --expect bar"/>
27
28 <step name="Distributed-Proxy.Test-Device-Sync"
29 requires="Distributed-Proxy.Test-Node-Async"
30 exec="onos-execute-expect ${OCI} proxy-test sync master of:0000000000000001 foo --expect foo"/>
31
32 <step name="Distributed-Proxy.Test-Device-Async"
33 requires="Distributed-Proxy.Test-Device-Sync"
34 exec="onos-execute-expect ${OCI} proxy-test async master of:0000000000000001 bar --expect bar"/>
35
36 <group name="Distributed-Proxy.Check-Log-Exceptions"
37 requires="Distributed-Proxy.Test-Device-Async">
38 <parallel var="${OC#}">
39 <step name="Distributed-Proxy.Check-Log-Exceptions-${#}"
40 exec="onos-check-logs ${OC#}"/>
41 </parallel>
42 </group>
43
44 </group>
45
46 <group name="Single-Node-NA" unless="${OC2}">
47 <step name="No-Op" exec="echo Scenario not supported for this cell size"/>
48 </group>
49</scenario>
50