blob: 6d7a44333e939d9c7d2f2a5d1226f60e8961b52c [file] [log] [blame]
<!--
~ Copyright 2018-present Open Networking Foundation
~
~ 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
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<scenario name="net-trellis-p4-smoke" description="Trellis P4 network connectivity test steps">
<import file="${ONOS_SCENARIOS}/net-setup-trellis-p4.xml"/>
<step name="Net-Trellis-P4-Smoke.Check-Summary" requires="Trellis-Net-P4-Setup.Wait-For-Mininet" delay="15"
exec="onos-check-summary ${OC1} [0-9]* 4 8 0 112"/>
<import file="${ONOS_SCENARIOS}/net-trellis-p4-devices.xml"/>
<dependency name="Net-Trellis-P4-Devices" requires="Net-Trellis-P4-Smoke.Check-Summary"/>
<import file="${ONOS_SCENARIOS}/net-teardown.xml"/>
<dependency name="Net-Teardown" requires="Net-Trellis-P4-Smoke.Check-Summary"/>
<parallel var="${OC#}">
<step name="Net-Trellis-P4-Smoke-Check-Logs-${#}" requires="~Net-Teardown"
exec="onos-check-logs ${OC#}"/>
</parallel>
</scenario>