[ONOS-7876] Initial STC implementation for ODTN
Change-Id: I51a22348cc73c576c5d10551e84ca8ac2f2a2040
diff --git a/tools/test/scenarios/net-odtn-restconf.xml b/tools/test/scenarios/net-odtn-restconf.xml
new file mode 100644
index 0000000..93d2095
--- /dev/null
+++ b/tools/test/scenarios/net-odtn-restconf.xml
@@ -0,0 +1,54 @@
+<!--
+ ~ Copyright 2015-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-odtn-restconf"
+ description="ODTN RESTCONF API test">
+ <group name="Net-ODTN-Restconf">
+
+ <!-- Verify the correct topology is present -->
+
+ <step name="Net-ODTN-Restconf.Tapi-context"
+ exec="execute-tapi-context-get-call.py ${OC1} empty"/>
+
+ <!-- Verify empty connectivity service -->
+
+ <step name="Net-ODTN-Restconf.Tapi-connectivity" requires="Net-ODTN-Restconf.Tapi-context"
+ exec="execute-tapi-post-call.py ${OC1} tapi-connectivity:get-connectivity-service-list empty"/>
+
+ <!-- Push the connectivity service request -->
+
+ <!--<step name="ODTN-Net-Setup.Tapi-connectivity" requires="ODTN-Net-Setup.Tapi-context"
+ exec="execute-tapi-post-call.py ${OC1} tapi-connectivity:get-connectivity-service-list true"/>
+
+ <group name="ODTN-Net-Setup.Verify-Logs-3" requires="ODTN-Net-Setup.Tapi-connectivity">
+ <parallel var="${OC#}">
+ <step name="Check-Logs-3-${#}" exec="onos-check-logs ${OC#}"/>
+ </parallel>
+ </group>
+
+ <step name="ODTN-Net-Setup.Tapi-context" requires="ODTN-Net-Setup.Verify-Logs"
+ exec="execute-tapi-context-get-call.py ${OC1} empty"/>
+ <step name="ODTN-Net-Setup.Tapi-connectivity" requires="ODTN-Net-Setup.Tapi-context"
+ exec="execute-tapi-post-call.py ${OC1} tapi-connectivity:get-connectivity-service-list empty true"/>
+
+ <group name="ODTN-Net-Setup.Verify-Logs-4" requires="ODTN-Net-Setup.Tapi-connectivity">
+ <parallel var="${OC#}">
+ <step name="Check-Logs-4-${#}" exec="onos-check-logs ${OC#}"/>
+ </parallel>
+ </group>-->
+
+
+ </group>
+</scenario>