blob: 61e8344b2fe5de74701963a9625570c5eb8cb64c [file] [log] [blame]
Claudine Chiue23b4562017-10-18 23:14:05 -04001<!--
2 ~ Copyright 2017-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<scenario name="net-activate-fwdvn" description="Install and activate virtual network forwarding app">
17 <group name="Net-Activate-Fwdvn" cwd="${HOME}/vn_fwd-master">
18 <import file="${ONOS_SCENARIOS}/net-details-fwdvn.xml"/>
19
20 <step name="Install-Fwdvn-App" requires="Net-Details-Fwdvn"
21 exec="onos-app ${OCI} install! target/${fwdVnAppOarFileName}"/>
22
23 <step name="Activate-Fwdvn-App" requires="^"
24 exec="onos ${OC1} app activate ${fwdVnAppFullName}"/>
25
26 <group name="Check-Fwdvn-App-Activated" requires="Activate-Fwdvn-App">
27 <parallel var="${OC#}">
28 <step name="Check-Fwdvn-App-Activated-${#}"
29 exec="onos-check-apps ${#} ${fwdVnAppName} includes"/>
30 </parallel>
31 </group>
32 </group>
33</scenario>