Supporting VLDs for Netslice
[osm/NBI.git] / osm_nbi / tests / cirros_slice / cirros_2net_nst_basic.yaml
diff --git a/osm_nbi/tests/cirros_slice/cirros_2net_nst_basic.yaml b/osm_nbi/tests/cirros_slice/cirros_2net_nst_basic.yaml
new file mode 100644 (file)
index 0000000..2ddc415
--- /dev/null
@@ -0,0 +1,51 @@
+# 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 to test VLD connection between Network Services within the same VIM
+nst:
+-   id: cirros_2net_nst_basic
+    name: cirros_2net_nst_basic
+    SNSSAI-identifier:
+        slice-service-type: eMBB
+    quality-of-service:
+        id: 1
+
+    netslice-subnet:
+    -   id: cirros_2net_vld_nsd_1
+        is-shared-nss: 'false'
+        description: NetSlice Subnet (service) composed by 2 vnfs and 4 cp (2 mgmt and 2 data)
+        nsd-ref: cirros_2net_vld_nsd
+    -   id: cirros_2net_vld_nsd_2
+        is-shared-nss: 'false'
+        description: NetSlice Subnet (service) composed by 2 vnfs and 4 cp (2 mgmt and 2 data)
+        nsd-ref: cirros_2net_vld_nsd
+
+    netslice-vld:
+    -   id: slice_cirros_vld_mgmt
+        name: slice_cirros_vld_mgmt
+        type: ELAN
+        mgmt-network: 'true'
+        nss-connection-point-ref:
+        -   nss-ref: cirros_2net_vld_nsd_1
+            nsd-connection-point-ref: nsd_cp_mgmt
+        -   nss-ref: cirros_2net_vld_nsd_2
+            nsd-connection-point-ref: nsd_cp_mgmt
+    -   id: slice_cirros_vld_data
+        name: slice_cirros_vld_data
+        type: ELAN
+        nss-connection-point-ref:
+        -   nss-ref: cirros_2net_vld_nsd_1
+            nsd-connection-point-ref: nsd_cp_data
+        -   nss-ref: cirros_2net_vld_nsd_2
+            nsd-connection-point-ref: nsd_cp_data