Create setup and cleanup tests for stc dist tests

Change-Id: Ie977697a645be82e26ebf13d2510eb891a7c8b8c
(cherry picked from commit 4ad86cfda8f0dc2e87a1ef2ec0a48506c09274a0)
diff --git a/tools/test/scenarios/dist-setup.xml b/tools/test/scenarios/dist-setup.xml
new file mode 100644
index 0000000..7b35087
--- /dev/null
+++ b/tools/test/scenarios/dist-setup.xml
@@ -0,0 +1,27 @@
+<!--
+  ~ Copyright 2015-present Open Networking Laboratory
+  ~
+  ~ 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="dist-setup" description="ONOS distributed primitives setup">
+    <group name="Distributed-Primitives-Setup">
+        <step name="Distributed-Primitives-Setup.Activate-Distributed-Primitives-Test-App"
+              exec="onos ${OCI} app activate org.onosproject.distributedprimitives"/>
+
+        <parallel var="${OC#}">
+            <step name="Distributed-Primitives-Setup.Check-Apps-${#}"
+                  requires="Distributed-Primitives-Setup.Activate-Distributed-Primitives-Test-App"
+                  exec="onos-check-apps ${OC#} distributedprimitives includes"/>
+        </parallel>
+    </group>
+</scenario>