Add examples of translations from old to new descriptors
[osm/IM.git] / augments / examples / vepc_nsd_new.yaml
diff --git a/augments/examples/vepc_nsd_new.yaml b/augments/examples/vepc_nsd_new.yaml
new file mode 100644 (file)
index 0000000..414c3e7
--- /dev/null
@@ -0,0 +1,55 @@
+#  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:
+  - id: vEPC_nsd
+    name: vEPC_nsd
+    description: Generated by OSM package generator
+    designer: OSM_VNFONB_TF
+    version: "1.0"
+    vnfd-id:
+      - vEPC_vnfd      
+
+    virtual-link-desc:
+      - id: management
+        mgmt-network: "true" # Needed?
+        vim-network-name: osm-ext # Instantiation?
+      - id: s1
+        vim-network-name: s1
+      - id: sgi
+        vim-network-name: sgi
+
+    df:
+      - id: vEPC_DF
+        vnf-profile:
+          - id: vEPC-VNF
+            vnfd-id: vEPC_vnfd
+            virtual-link-connectivity:
+              - virtual-link-profile-id: management
+                constituent-cpd-id:
+                  - constituent-base-element-id: vEPC_vnfd
+                    constituent-cpd-id: spgwmme-mgmt
+                  - constituent-base-element-id: vEPC_vnfd
+                    constituent-cpd-id: hss-mgmt
+              - virtual-link-profile-id: s1
+                constituent-cpd-id:
+                  - constituent-base-element-id: vEPC_vnfd
+                    constituent-cpd-id: spgwmme-s1
+                    ip-address: 192.168.0.11 # Augmenting. Instantiation?
+              - virtual-link-profile-id: sgi
+                constituent-cpd-id:
+                  - constituent-base-element-id: vEPC_vnfd
+                    constituent-cpd-id: spgwmme-sgi
+                    ip-address: 192.168.2.11 # Augmenting. Instantiation?
\ No newline at end of file