Add examples of translations from old to new descriptors
[osm/IM.git] / augments / examples / epa_new.yaml
1 #  Copyright 2020 Whitestack LLC
2 #
3 #  Licensed under the Apache License, Version 2.0 (the "License");
4 #  you may not use this file except in compliance with the License.
5 #  You may obtain a copy of the License at
6 #
7 #    http://www.apache.org/licenses/LICENSE-2.0
8 #
9 #  Unless required by applicable law or agreed to in writing, software
10 #  distributed under the License is distributed on an "AS IS" BASIS,
11 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 #  implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15
16 vnfd:
17   - id: epa-vnfd
18     ...
19
20     virtual-compute-desc:
21       - id: epa-compute
22         virtual-cpu:
23           ...
24           vdu-cpu-requirements: # Generic key/value pairs
25             cpu-pinning-policy: DEDICATED
26             cpu-thread-pinning-policy: PREFER
27         virtual-memory:
28           ...
29           vdu-mem-requirements: # Generic key/value pairs
30             mempage-size: LARGE
31           numa-enabled: true # Replaces NUMA aware/unaware choice
32           numa-node-policy:
33             mem-policy: STRICT
34               node:
35                 - id: "1"
36               node-cnt: "1"
37
38     vdu:
39       - id: epa-vdu
40         virtual-compute-desc: epa-compute
41         ...