blob: 7bc2bbaa2c74a1623d313cef5e888d6174de647b [file] [log] [blame]
Ray Milkeyb0ade292016-03-08 08:42:11 -08001<!--
Brian O'Connor5ab426f2016-04-09 01:19:45 -07002 ~ Copyright 2016-present Open Networking Laboratory
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-${#}"
37 exec="onos-check-apps ${OC#} drivers,openflow,proxyarp,dhcp,fujitsu includes"/>
38 </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>