Updates sol006 branch with master
[osm/IM.git] / augments / examples / alternative_image_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: hackfest_basic-vnf
18     product-name: hackfest_basic-vnf
19     description: A basic VNF descriptor w/ one VDU
20     version: "1.0"
21     mgmt-cp: vnf-cp0
22
23     virtual-compute-desc:
24       - id: cirros-compute
25         virtual-cpu:
26           num-virtual-cpu: 1
27         virtual-memory:
28           size: 1 # Memory size in GB
29
30     virtual-storage-desc:
31       - id: cirros-storage
32         size-of-storage: 10
33
34     sw-image-desc:
35       - id: ubuntu1604
36         name: ubuntu1604
37         checksum:
38           hash: # Mandatory?
39       - id: ubuntu1604-aws
40         name: ubuntu1604-aws
41         image: ubuntu/images/hvm-ssd/ubuntu-artful-17.10-amd64-server-20180509
42         vim-type: aws
43         checksum:
44           hash: # Mandatory?
45
46     vdu:
47       - id: hackfest_basic-VM
48         name: hackfest_basic-VM
49         virtual-compute-desc: cirros-compute
50         virtual-storage-desc: cirros-storage
51         sw-image-desc: ubuntu1604
52         alternative-images: ubuntu1604-aws
53         int-cpd:
54           - id: eth0-int
55             virtual-network-interface-requirement:
56               - name: vdu-eth0
57                 type: EXTERNAL # Remove (redundant)
58                 virtual-interface:
59                   type: PARAVIRT
60
61     df:
62       - id: cirros_default
63         vdu-profile:
64           - id: hackfest_basic-VM
65             min-number-of-instance: 1
66         instantiation-level:
67           - id: default
68             vdu-level:
69               - id: hackfest_basic-VM
70                 number-of-instances: 1
71
72     exp-cpd:
73       - id: vnf-cp0
74         int-cpd: # Connection to int-cpd
75           vdu-id: hackfest_basic-VM
76           cpd: eth0-int