Updates branch master with sol006 branch, introducing new SOL006 model classes
[osm/IM.git] / tests / examples / hackfest_charmed_nsd_sol006.yaml
diff --git a/tests/examples/hackfest_charmed_nsd_sol006.yaml b/tests/examples/hackfest_charmed_nsd_sol006.yaml
new file mode 100644 (file)
index 0000000..0d6533e
--- /dev/null
@@ -0,0 +1,57 @@
+#  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:
+    - id: hackfest3charmed-ns
+      name: hackfest3charmed-ns
+      description: NS with 2 VNFs hackfest3charmed-vnf connected by datanet and mgmtnet VLs
+      designer: OSM
+      version: '1.0'
+
+      vnfd-id:
+        - hackfest3charmed-vnf
+
+      virtual-link-desc:
+        - id: mgmt
+          mgmt-network: "true"
+        - id: datanet
+          mgmt-network: "false"
+
+      df:
+        - id: hackfest_charmed_DF
+          vnf-profile:
+            - id: hackfest_vnf1 # member-vnf-index-ref: 1
+              vnfd-id: hackfest3charmed-vnf
+              virtual-link-connectivity:
+                - virtual-link-profile-id: mgmt
+                  constituent-cpd-id:
+                    - constituent-base-element-id: hackfest_vnf1
+                      constituent-cpd-id: vnf-mgmt-ext
+                - virtual-link-profile-id: datanet
+                  constituent-cpd-id:
+                    - constituent-base-element-id: hackfest_vnf1
+                      constituent-cpd-id: vnf-data-ext
+            - id: hackfest_vnf2 # member-vnf-index-ref: 2
+              vnfd-id: hackfest3charmed-vnf
+              virtual-link-connectivity:
+                - virtual-link-profile-id: mgmt
+                  constituent-cpd-id:
+                    - constituent-base-element-id: hackfest_vnf2
+                      constituent-cpd-id: vnf-mgmt-ext
+                - virtual-link-profile-id: datanet
+                  constituent-cpd-id:
+                    - constituent-base-element-id: hackfest_vnf2
+                      constituent-cpd-id: vnf-data-ext
\ No newline at end of file