Add examples of translations from old to new descriptors
[osm/IM.git] / augments / examples / vepc_nsd_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 nsd:
17   - id: vEPC_nsd
18     name: vEPC_nsd
19     description: Generated by OSM package generator
20     designer: OSM_VNFONB_TF
21     version: "1.0"
22     vnfd-id:
23       - vEPC_vnfd      
24
25     virtual-link-desc:
26       - id: management
27         mgmt-network: "true" # Needed?
28         vim-network-name: osm-ext # Instantiation?
29       - id: s1
30         vim-network-name: s1
31       - id: sgi
32         vim-network-name: sgi
33
34     df:
35       - id: vEPC_DF
36         vnf-profile:
37           - id: vEPC-VNF
38             vnfd-id: vEPC_vnfd
39             virtual-link-connectivity:
40               - virtual-link-profile-id: management
41                 constituent-cpd-id:
42                   - constituent-base-element-id: vEPC_vnfd
43                     constituent-cpd-id: spgwmme-mgmt
44                   - constituent-base-element-id: vEPC_vnfd
45                     constituent-cpd-id: hss-mgmt
46               - virtual-link-profile-id: s1
47                 constituent-cpd-id:
48                   - constituent-base-element-id: vEPC_vnfd
49                     constituent-cpd-id: spgwmme-s1
50                     ip-address: 192.168.0.11 # Augmenting. Instantiation?
51               - virtual-link-profile-id: sgi
52                 constituent-cpd-id:
53                   - constituent-base-element-id: vEPC_vnfd
54                     constituent-cpd-id: spgwmme-sgi
55                     ip-address: 192.168.2.11 # Augmenting. Instantiation?