blob: 9ec8c6c3e63bbc6e08ae9044bb6879a2096467e9 [file] [log] [blame]
Ray Milkeyb0ade292016-03-08 08:42:11 -08001<!--
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 ~ Copyright 2016-present Open Networking Foundation
Ray Milkeyb0ade292016-03-08 08:42:11 -08003 ~
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="drivers-test"
17 description="Driver CLI activate/deactivate test">
18 <group name="Drivers-Test">
19
Ray Milkeye685d7d2016-08-04 17:00:14 -070020 <!-- Check initial state of the Fujitsu driver -->
21 <step name="DriversTest.FindFujitsuInitial"
22 exec="onos-find-driver ${OC1} fujitsu-netconf fujitsu" env="!"/>
Ray Milkeyb0ade292016-03-08 08:42:11 -080023
Ray Milkeye685d7d2016-08-04 17:00:14 -070024 <!-- Activate Fujitsu driver app -->
25 <!--
26 <step name="DriversTest.ActivateNetconfApp" requires="^"
27 exec="onos ${OCI} onos:app activate org.onosproject.netconf"/>
28 <step name="DriversTest.ActivateFujitsuDriverApp" requires="^"
29 exec="onos ${OCI} onos:app activate org.onosproject.drivers.fujitsu"/>
30 -->
Ray Milkey38809282016-07-07 14:36:23 -070031
Ray Milkeye685d7d2016-08-04 17:00:14 -070032 <!-- Check that the activation was successful -->
33 <!--
34 <group name="DriversTest.Check-Fujitsu-App-Activated" requires="DriversTest.ActivateFujitsuDriverApp">
35 <parallel var="${OC#}">
36 <step name="DriversTest.Check-Fujitsu-App-Activated-${#}"
Sean Condonbf7ff4f2019-03-17 16:18:42 +000037 exec="onos-check-apps ${OC#} gui,drivers,openflow,proxyarp,dhcp,fujitsu includes"/>
Ray Milkeye685d7d2016-08-04 17:00:14 -070038 </parallel>
39 </group>
40 -->
Ray Milkeyb0ade292016-03-08 08:42:11 -080041
Ray Milkeye685d7d2016-08-04 17:00:14 -070042 <!-- Check that Fujitsu driver is active. -->
43 <!--
44 <step name="DriversTest.FindFujitsuAfterActivate" requires="^"
45 exec="onos-find-driver ${OC1} fujitsu-netconf fujitsu" />
46 <step name="DriversTest.CheckFujitsuAfterActivate" requires="^"
47 exec="test '${fujitsuDriver}' != ''"/>
48 -->
Ray Milkeyb0ade292016-03-08 08:42:11 -080049
Ray Milkeye685d7d2016-08-04 17:00:14 -070050 <!-- Deactivate Fujitsu driver app -->
51 <!--
52 <step name="DriversTest.DeactivateFujitsuDriverApp" requires="^"
53 exec="onos ${OCI} onos:app deactivate org.onosproject.drivers.fujitsu"/>
54 -->
Ray Milkey38809282016-07-07 14:36:23 -070055
Ray Milkeye685d7d2016-08-04 17:00:14 -070056 <!-- Check that Fujitsu driver is no longer present -->
57 <step name="DriversTest.AfterDeactivateFindFujitsu" requires="^"
58 exec="onos-find-driver ${OC1} fujitsu fujitsuInactive" env="!"/>
Ray Milkeyb0ade292016-03-08 08:42:11 -080059
Ray Milkeyb0ade292016-03-08 08:42:11 -080060
61 </group>
62</scenario>