blob: 39aaa45bc8ea5f4e77c580d19b203db08105f577 [file] [log] [blame]
montesmoreno0c8def02016-12-22 12:16:23 +00001##
tierno92021022018-09-12 16:29:23 +02002# Copyright 2015 Telefonica Investigacion y Desarrollo, S.A.U.
montesmoreno0c8def02016-12-22 12:16:23 +00003# This file is part of openmano
4# All Rights Reserved.
5#
6# Licensed under the Apache License, Version 2.0 (the "License"); you may
7# not use this file except in compliance with the License. You may obtain
8# a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15# License for the specific language governing permissions and limitations
16# under the License.
17#
18# For those usages not covered by the Apache License, Version 2.0 please
19# contact with: nfvlabs@tid.es
20##
21---
22vnf:
23 name: vnf_no_additional_devices
24 description: VNF with additional volume based on image
25 # class: parent # Optional. Used to organize VNFs
26 external-connections:
27 - name: mgmt0
28 type: mgmt # "mgmt" (autoconnect to management net), "bridge", "data"
29 VNFC: TEMPLATE-VM # Virtual Machine this interface belongs to
30 local_iface_name: mgmt0 # interface name inside this Virtual Machine (must be defined in the VNFC section)
31 description: Management interface
32 VNFC: # Virtual machine array
33 - name: TEMPLATE-VM # name of Virtual Machine
34 description: TEMPLATE description
35# VNFC image: /path/to/imagefolder/TEMPLATE-VM.qcow2
36 image name: ubuntu16.04
37 image checksum: 7373edba82a31eedd182d29237b746cf
38 # image metadata: {"bus":"ide", "os_type":"windows", "use_incremental": "no" } #Optional
39 # processor: #Optional
40 # model: Intel(R) Xeon(R) CPU E5-4620 0 @ 2.20GHz
41 # features: ["64b", "iommu", "lps", "tlbps", "hwsv", "dioc", "ht"]
42 # hypervisor: #Optional
43 # type: QEMU-kvm
44 # version: "10002|12001|2.6.32-358.el6.x86_64"
45 vcpus: 1 # Only for traditional cloud VMs. Number of virtual CPUs (oversubscription is allowed).
46 ram: 1000 # Only for traditional cloud VMs. Memory in MBytes (not from hugepages, oversubscription is allowed)
47 disk: 5 # disk size in GiB, by default 1
48 #numas:
49 #- paired-threads: 5 # "cores", "paired-threads", "threads"
50 # paired-threads-id: [ [0,1], [2,3], [4,5], [6,7], [8,9] ] # By default follows incremental order
51 # memory: 14 # GBytes
52 # interfaces: []
53 bridge-ifaces:
54 - name: mgmt0
55 vpci: "0000:00:0a.0" # Optional. Virtual PCI address
56 bandwidth: 1 Mbps # Optional. Informative only
57 # mac_address: '20:33:45:56:77:46' #avoid this option if possible
58 # model: 'virtio' # ("virtio","e1000","ne2k_pci","pcnet","rtl8139") By default, it is automatically filled by libvirt
59 # Additional Virtual Machines would be included here
60