blob: 93d2095f4a0086657ded7fd3afb7c6f7ca9b0cbe [file] [log] [blame]
Andrea Campanella6d774232018-12-21 12:18:21 +01001<!--
2 ~ Copyright 2015-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-odtn-restconf"
17 description="ODTN RESTCONF API test">
18 <group name="Net-ODTN-Restconf">
19
20 <!-- Verify the correct topology is present -->
21
22 <step name="Net-ODTN-Restconf.Tapi-context"
23 exec="execute-tapi-context-get-call.py ${OC1} empty"/>
24
25 <!-- Verify empty connectivity service -->
26
27 <step name="Net-ODTN-Restconf.Tapi-connectivity" requires="Net-ODTN-Restconf.Tapi-context"
28 exec="execute-tapi-post-call.py ${OC1} tapi-connectivity:get-connectivity-service-list empty"/>
29
30 <!-- Push the connectivity service request -->
31
32 <!--<step name="ODTN-Net-Setup.Tapi-connectivity" requires="ODTN-Net-Setup.Tapi-context"
33 exec="execute-tapi-post-call.py ${OC1} tapi-connectivity:get-connectivity-service-list true"/>
34
35 <group name="ODTN-Net-Setup.Verify-Logs-3" requires="ODTN-Net-Setup.Tapi-connectivity">
36 <parallel var="${OC#}">
37 <step name="Check-Logs-3-${#}" exec="onos-check-logs ${OC#}"/>
38 </parallel>
39 </group>
40
41 <step name="ODTN-Net-Setup.Tapi-context" requires="ODTN-Net-Setup.Verify-Logs"
42 exec="execute-tapi-context-get-call.py ${OC1} empty"/>
43 <step name="ODTN-Net-Setup.Tapi-connectivity" requires="ODTN-Net-Setup.Tapi-context"
44 exec="execute-tapi-post-call.py ${OC1} tapi-connectivity:get-connectivity-service-list empty true"/>
45
46 <group name="ODTN-Net-Setup.Verify-Logs-4" requires="ODTN-Net-Setup.Tapi-connectivity">
47 <parallel var="${OC#}">
48 <step name="Check-Logs-4-${#}" exec="onos-check-logs ${OC#}"/>
49 </parallel>
50 </group>-->
51
52
53 </group>
54</scenario>