Pyangbind checks for Network Slices descriptors
[osm/NBI.git] / osm_nbi / tests / cirros_slice / cirros_slice.yaml
index 6f66c27..b3b6598 100644 (file)
@@ -1,17 +1,34 @@
+# 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:
 nst:
-    nst:
-    -   id: cirros_nst
-        name: cirros_netslice_template
-        SNSSAI-identifier:
-        -   slice-service-type: eMBB
-        quality-of-service:
-        -   id: 1
-        netslice-subnet:
-        -   id: cirros_nsd
-            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
\ No newline at end of file
+-   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_2vnf_nsd'
+        instantiation-parameters:
+            vimAccountId: Openstack_7.18
+    -   id: cirros_nsd_2
+        is-shared-nss: 'false'
+        description: Slice example for osm-5.0
+        nsd-ref: 'cirros_2vnf_nsd'
+        instantiation-parameters:
+            vimAccountId: Openstack_7.18