blob: fbfd5eef3b713537ba39265ca30fee5ebe10d736 [file] [log] [blame]
garciaale76f6a622020-11-19 17:57:42 -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:vnfd-catalog:
17 vnfd:
18 - id: cirros_vnfd
19 name: cirros_vnf
20 short-name: cirros_vnf
21 description: Simple VNF example with a cirros
22 vendor: OSM
23 version: "1.0"
24
25 # Place the logo as png in icons directory and provide the name here
26 logo: cirros-64.png
27
28 # Management interface
29 mgmt-interface:
30 cp: eth0
31
32 # Atleast one VDU need to be specified
33 vdu:
34 - id: cirros_vnfd-VM
35 name: cirros_vnfd-VM
36 description: cirros_vnfd-VM
37 count: 1
38
39 # Flavour of the VM to be instantiated for the VDU
40 # flavor below can fit into m1.micro
41 vm-flavor:
42 vcpu-count: 1
43 memory-mb: 256
44 storage-gb: 2
45
46 # Image/checksum or image including the full path
47 image: cirros034
48 #checksum:
49
50 interface:
51 # Specify the external interfaces
52 # There can be multiple interfaces defined
53 - name: eth0
54 type: EXTERNAL
55 virtual-interface:
56 type: VIRTIO
57 bandwidth: "0"
58 vpci: 0000:00:0a.0
59 external-connection-point-ref: eth0
60
61 connection-point:
62 - name: eth0
63 type: VPORT