feat(configurations): now VNF/VDU/KDU configurations are in the same place, compatibl...
[osm/IM.git] / tests / examples / alternative_image_sol006.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-ext
22
23   virtual-compute-desc:
24     - id: hackfest_basic-VM-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: hackfest_basic-VM-storage
32       size-of-storage: 10
33
34   sw-image-desc:
35     - id: ubuntu1604
36       name: ubuntu1604
37       image: ubuntu1604
38     - id: ubuntu/images/hvm-ssd/ubuntu-artful-17.10-amd64-server-20180509
39       name: ubuntu/images/hvm-ssd/ubuntu-artful-17.10-amd64-server-20180509
40       image: ubuntu/images/hvm-ssd/ubuntu-artful-17.10-amd64-server-20180509
41       vim-type: aws
42
43   vdu:
44     - id: hackfest_basic-VM
45       name: hackfest_basic-VM
46       virtual-compute-desc: hackfest_basic-VM-compute
47       virtual-storage-desc:
48         - hackfest_basic-VM-storage
49       sw-image-desc: ubuntu1604
50       alternative-sw-image-desc:
51         - ubuntu/images/hvm-ssd/ubuntu-artful-17.10-amd64-server-20180509
52       int-cpd:
53         - id: vdu-eth0-int
54           virtual-network-interface-requirement:
55             - name: vdu-eth0
56               virtual-interface:
57                 type: PARAVIRT
58
59   df:
60     - id: default-df
61       vdu-profile:
62         - id: hackfest_basic-VM
63           min-number-of-instances: 1
64       instantiation-level:
65         - id: default-instantiation-level
66           vdu-level:
67             - vdu-id: hackfest_basic-VM
68               number-of-instances: 1
69
70   ext-cpd:
71     - id: vnf-cp0-ext
72       int-cpd: # Connection to int-cpd
73         vdu-id: hackfest_basic-VM
74         cpd: vdu-eth0-int