blob: b27b5c1c67d29b4e38737f2e9cf90d9444e3ca8a [file] [log] [blame]
Ray Milkey51cf3072018-12-11 08:46:52 -08001<!--
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
Carmelo Cascone0c6f0a52018-12-13 23:16:10 -080018<scenario name="net-trellis-p4-smoke"
19 description="Trellis P4 network connectivity test steps">
Ray Milkey51cf3072018-12-11 08:46:52 -080020
21 <import file="${ONOS_SCENARIOS}/net-setup-trellis-p4.xml"/>
22
Carmelo Cascone0c6f0a52018-12-13 23:16:10 -080023 <step name="Net-Trellis-P4-Smoke.Check-Summary"
24 requires="Trellis-Net-P4-Setup.Wait-For-Mininet" delay="5"
Ray Milkey51cf3072018-12-11 08:46:52 -080025 exec="onos-check-summary ${OC1} [0-9]* 4 8 0 112"/>
26
27 <import file="${ONOS_SCENARIOS}/net-trellis-p4-devices.xml"/>
Carmelo Cascone0c6f0a52018-12-13 23:16:10 -080028 <dependency name="Net-Trellis-P4-Devices"
29 requires="Net-Trellis-P4-Smoke.Check-Summary"/>
30
31 <import file="${ONOS_SCENARIOS}/net-trellis-p4-links.xml"/>
32 <dependency name="Net-Trellis-P4-Links"
33 requires="Net-Trellis-P4-Smoke.Check-Summary"/>
34
35 <import file="${ONOS_SCENARIOS}/net-trellis-p4-connectivity.xml"/>
36 <dependency name="Net-Trellis-P4-Connectivity-Host-Discovery"
37 requires="Net-Trellis-P4-Smoke.Check-Summary"/>
38
39 <import file="${ONOS_SCENARIOS}/net-trellis-p4-hosts.xml"/>
40 <dependency name="Net-Trellis-P4-Hosts"
41 requires="Net-Trellis-P4-Connectivity-Host-Discovery"/>
42
43 <!-- Check additional flow rules for discovered hosts -->
44 <step name="Net-Trellis-P4-Smoke.Check-Summary-2"
45 requires="Net-Trellis-P4-Connectivity-Host-Discovery" delay="3"
46 exec="onos-check-summary ${OC1} [0-9]* 4 8 4 136"/>
47
48 <dependency name="Net-Trellis-P4-Connectivity-Bridging"
49 requires="Net-Trellis-P4-Smoke.Check-Summary-2"/>
50 <dependency name="Net-Trellis-P4-Connectivity-Routing"
51 requires="Net-Trellis-P4-Smoke.Check-Summary-2,~Net-Trellis-P4-Connectivity-Bridging"/>
Ray Milkey51cf3072018-12-11 08:46:52 -080052
53 <import file="${ONOS_SCENARIOS}/net-teardown.xml"/>
Carmelo Cascone0c6f0a52018-12-13 23:16:10 -080054 <dependency name="Net-Teardown"
55 requires="~Net-Trellis-P4-Devices,~Net-Trellis-P4-Links,~Net-Trellis-P4-Hosts,~Net-Trellis-P4-Connectivity-Bridging,~Net-Trellis-P4-Connectivity-Routing"/>
Ray Milkey51cf3072018-12-11 08:46:52 -080056
57 <parallel var="${OC#}">
Carmelo Cascone0c6f0a52018-12-13 23:16:10 -080058 <step name="Net-Trellis-P4-Smoke-Check-Logs-${#}"
59 requires="~Net-Teardown"
Ray Milkey51cf3072018-12-11 08:46:52 -080060 exec="onos-check-logs ${OC#}"/>
61 </parallel>
62
Carmelo Cascone4c3364b2018-12-13 15:56:34 -080063</scenario>