Feature shared network slice subnet
[osm/NBI.git] / osm_nbi / tests / slice_shared / nsd / slice_shared_nsd.yaml
diff --git a/osm_nbi/tests/slice_shared/nsd/slice_shared_nsd.yaml b/osm_nbi/tests/slice_shared/nsd/slice_shared_nsd.yaml
new file mode 100644 (file)
index 0000000..ee0b1ba
--- /dev/null
@@ -0,0 +1,53 @@
+# Copyright [2019] [Pol Alemany, Ricard Vilalta (CTTC), Felipe Vicens (ATOS)]
+#
+# 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.
+
+nsd-catalog:
+    nsd:
+    -   id: slice_hackfest_nsd
+        name: slice_hackfest_nsd
+        short-name: slice_hackfest_ns
+        description: NSD to be used on Slice Session of the 5th hackfest
+        vendor: OSM
+        version: '1.0'
+        logo: osm_2x.png
+
+        constituent-vnfd:
+        -   member-vnf-index: 1
+            vnfd-id-ref: slice_hackfest_vnfd
+
+        connection-point:
+        -   name: nsd_cp_mgmt
+            vld-id-ref: nsd_vnfd_vld_mgmt
+        -   name: nsd_cp_data
+            vld-id-ref: nsd_vnfd_vld_data
+
+        vld:
+        -   id: nsd_vnfd_vld_mgmt
+            name: nsd_vnfd_vld_mgmt
+            short-name: nsd_vnfd_vld_mgmt
+            type: ELAN
+            mgmt-network: 'true'
+            vnfd-connection-point-ref:
+            -   member-vnf-index-ref: 1
+                vnfd-id-ref: slice_hackfest_vnfd
+                vnfd-connection-point-ref: eth0
+        -   id: nsd_vnfd_vld_data
+            name: nsd_vnfd_vld_data
+            short-name: nsd_vnfd_vld_data
+            type: ELAN
+            mgmt-network: 'false'
+            vnfd-connection-point-ref:
+            -   member-vnf-index-ref: 1
+                vnfd-id-ref: slice_hackfest_vnfd
+                vnfd-connection-point-ref: eth1
\ No newline at end of file