Ray Milkey | a61ba57 | 2018-12-11 08:46:52 -0800 | [diff] [blame] | 1 | <!-- |
| 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 Cascone | d8f04aa | 2018-12-13 23:16:10 -0800 | [diff] [blame] | 18 | <scenario name="net-trellis-p4-smoke" |
| 19 | description="Trellis P4 network connectivity test steps"> |
Ray Milkey | a61ba57 | 2018-12-11 08:46:52 -0800 | [diff] [blame] | 20 | |
| 21 | <import file="${ONOS_SCENARIOS}/net-setup-trellis-p4.xml"/> |
| 22 | |
Carmelo Cascone | d8f04aa | 2018-12-13 23:16:10 -0800 | [diff] [blame] | 23 | <step name="Net-Trellis-P4-Smoke.Check-Summary" |
| 24 | requires="Trellis-Net-P4-Setup.Wait-For-Mininet" delay="5" |
Ray Milkey | a61ba57 | 2018-12-11 08:46:52 -0800 | [diff] [blame] | 25 | exec="onos-check-summary ${OC1} [0-9]* 4 8 0 112"/> |
| 26 | |
| 27 | <import file="${ONOS_SCENARIOS}/net-trellis-p4-devices.xml"/> |
Carmelo Cascone | d8f04aa | 2018-12-13 23:16:10 -0800 | [diff] [blame] | 28 | <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 Milkey | a61ba57 | 2018-12-11 08:46:52 -0800 | [diff] [blame] | 52 | |
| 53 | <import file="${ONOS_SCENARIOS}/net-teardown.xml"/> |
Carmelo Cascone | d8f04aa | 2018-12-13 23:16:10 -0800 | [diff] [blame] | 54 | <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 Milkey | a61ba57 | 2018-12-11 08:46:52 -0800 | [diff] [blame] | 56 | |
| 57 | <parallel var="${OC#}"> |
Carmelo Cascone | d8f04aa | 2018-12-13 23:16:10 -0800 | [diff] [blame] | 58 | <step name="Net-Trellis-P4-Smoke-Check-Logs-${#}" |
| 59 | requires="~Net-Teardown" |
Ray Milkey | a61ba57 | 2018-12-11 08:46:52 -0800 | [diff] [blame] | 60 | exec="onos-check-logs ${OC#}"/> |
| 61 | </parallel> |
| 62 | |
Carmelo Cascone | 8fc34f4 | 2018-12-13 15:56:34 -0800 | [diff] [blame] | 63 | </scenario> |