blob: ac7650c521ec5cb2a178202659529cc25940f578 [file] [log] [blame]
garciaale74ed2e52020-10-23 15:28:33 -03001# 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
16vnfd:
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-sw-image-desc:
53 - ubuntu1604-aws
54 int-cpd:
55 - id: eth0-int
56 virtual-network-interface-requirement:
57 - name: vdu-eth0
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-instances: 1
66 instantiation-level:
67 - id: default
68 vdu-level:
69 - vdu-id: hackfest_basic-VM
70 number-of-instances: 1
71
72 ext-cpd:
73 - id: vnf-cp0
74 int-cpd: # Connection to int-cpd
75 vdu-id: hackfest_basic-VM
76 cpd: eth0-int