Updates branch master with sol006 branch, introducing new SOL006 model classes
[osm/IM.git] / tests / examples / hackfest_charmed_nsd_im.yaml
diff --git a/tests/examples/hackfest_charmed_nsd_im.yaml b/tests/examples/hackfest_charmed_nsd_im.yaml
new file mode 100644 (file)
index 0000000..cb90dbc
--- /dev/null
@@ -0,0 +1,54 @@
+#  Copyright 2020 Whitestack LLC
+#
+#  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:nsd-catalog:
+  nsd:
+    - constituent-vnfd:
+        - member-vnf-index: '1'
+          vnfd-id-ref: hackfest3charmed-vnf
+        - member-vnf-index: '2'
+          vnfd-id-ref: hackfest3charmed-vnf
+      description: NS with 2 VNFs hackfest3charmed-vnf connected by datanet and mgmtnet VLs
+      id: hackfest3charmed-ns
+      logo: osm.png
+      name: hackfest3charmed-ns
+      short-name: hackfest3charmed-ns
+      version: '1.0'
+      vld:
+        - id: mgmt
+          mgmt-network: true
+          name: mgmt
+          short-name: mgmt
+          type: ELAN
+          vim-network-name: mgmt
+          vnfd-connection-point-ref:
+            - member-vnf-index-ref: '1'
+              vnfd-connection-point-ref: vnf-mgmt
+              vnfd-id-ref: hackfest3charmed-vnf
+            - member-vnf-index-ref: '2'
+              vnfd-connection-point-ref: vnf-mgmt
+              vnfd-id-ref: hackfest3charmed-vnf
+        - id: datanet
+          name: datanet
+          short-name: datanet
+          type: ELAN
+          vnfd-connection-point-ref:
+            - member-vnf-index-ref: '1'
+              vnfd-connection-point-ref: vnf-data
+              vnfd-id-ref: hackfest3charmed-vnf
+            - member-vnf-index-ref: '2'
+              vnfd-connection-point-ref: vnf-data
+              vnfd-id-ref: hackfest3charmed-vnf
+