Adding NetSlice Tests
[osm/NBI.git] / osm_nbi / tests / cirros_slice / cirros_slice_vld.yaml
diff --git a/osm_nbi/tests/cirros_slice/cirros_slice_vld.yaml b/osm_nbi/tests/cirros_slice/cirros_slice_vld.yaml
new file mode 100644 (file)
index 0000000..0cb21bb
--- /dev/null
@@ -0,0 +1,43 @@
+# Copyright [2018] [Felipe Vicens, Pol Alemany, Ricard Vilalta]
+#
+# 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.
+nst:
+-   id: cirros_nst
+    name: cirros_netslice_template
+    SNSSAI-identifier:
+    -   slice-service-type: eMBB
+    quality-of-service:
+    -   id: 1
+    netslice-subnet:
+    -   id: cirros_nsd_1
+        is-shared-nss: 'false'
+        description: Slice example for osm-5.0
+        nsd-ref: cirros_nsd
+        instantiation-parameters:
+        -   nsName: cirros_nsd
+            nsdId: cirros_nsd
+            vimAccountId: openstack_18
+    -   id: cirros_nsd_2
+        is-shared-nss: 'false'
+        description: Slice example for osm-5.0
+        nsd-ref: cirros_nsd
+        instantiation-parameters:
+        -   nsName: cirros_nsd
+            nsdId: cirros_nsd
+            vimAccountId: openstack_18
+    netslice-vld:
+    -   id: slice_cirros_vld1
+        name: slice_cirros_vld1
+        nsd-connection-point-ref:
+        -   nsd-ref: cirros_nsd
+            nsd-connection-point-ref: cirros_nsd_vld1
\ No newline at end of file