Add examples of translations from old to new descriptors
[osm/IM.git] / augments / examples / epa_new.yaml
diff --git a/augments/examples/epa_new.yaml b/augments/examples/epa_new.yaml
new file mode 100644 (file)
index 0000000..fe3b9f3
--- /dev/null
@@ -0,0 +1,41 @@
+#  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.
+
+vnfd:
+  - id: epa-vnfd
+    ...
+
+    virtual-compute-desc:
+      - id: epa-compute
+        virtual-cpu:
+          ...
+          vdu-cpu-requirements: # Generic key/value pairs
+            cpu-pinning-policy: DEDICATED
+            cpu-thread-pinning-policy: PREFER
+        virtual-memory:
+          ...
+          vdu-mem-requirements: # Generic key/value pairs
+            mempage-size: LARGE
+          numa-enabled: true # Replaces NUMA aware/unaware choice
+          numa-node-policy:
+            mem-policy: STRICT
+              node:
+                - id: "1"
+              node-cnt: "1"
+
+    vdu:
+      - id: epa-vdu
+        virtual-compute-desc: epa-compute
+        ...