blob: 8c64ba059513a8e83d769e13cec35d8bb8a110f1 [file] [log] [blame]
tiernof7aa8c42016-09-06 16:43:04 +02001##
2# Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
tierno9a61c6b2016-09-08 10:57:02 +02003# This file is part of openvim
tiernof7aa8c42016-09-06 16:43:04 +02004# 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
22
23flavor:
24 name: flavor-name
25 description: flavor-description
26 # cloud type requirements
27 ram: 1024 # Memory in MB. Ignored if provided 'memory' at 'extended'
28 vcpus: 2 # Number of cpus. Ignored if provided at 'extended'
29
30 # NFV type requirements
31 # allocating EXCLUSIVE resoureces in the same NUMA node.
32 extended: # optional
33 processor_ranking: 100 # minimal processor family. Not used in current version
34 numas: # list of numa set. Only one supported in current version
35 - memory: 8 # GByte of huge pages at this numa
36
37 #Choose among one of "cores", "paired-threads", "threads"
38 paired-threads: 5 # Cores with two paired hyper threads
39 #paired-threads-id: [[0,1],[2,3],[4,5],[6,7],[8,9]] # Guess pinning. By default follows incremental order
40 #threads: 10 # threads awereness of the hyperthreading
41 ##threads-id: [0,1,2,3,4,5,6,7,8,9] #Optional. Guess pinning
42 #cores: 5 # Complete cores, without hyperthreading. VIM ensures the other paired thread is idle
43 ##cores-id: [0,1,2,3,4] # Optional. Guess pinning of cores
44
45 #Optional: Dataplane needed interfaces
46 interfaces:
47 - name: xe0 # Optional. User friendly name
48 vpci: "0000:00:10.0" # Optional. Guess PCI
49 bandwidth: 10 Gbps # Needed minimun bandwidth
50 dedicated: "yes" # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag)
51 - name: xe1
52 vpci: "0000:00:11.0"
53 bandwidth: 10 Gbps
54 dedicated: "no"
55
56 #Optional: List of extra devices
57 devices: # order determines device letter asignation (hda, hdb, ...)
58 - type: disk # "disk","cdrom","xml","usb"
59 imageRef: 37598e34-ccb3-11e4-a996-52540030594e # UUID of an image, only for disk,cdrom,xml
60 # vpci: "0000:00:03.0" # Optional, not for disk or cdrom
61 # xml: 'Only for type xml: a XML described device xml text. Do not use single quotes inside
62 # The following words, if found, will be replaced:
63 # __file__ by image path, (imageiRef must be provided)
64 # __format__ by qcow2 or raw (imageRef must be provided)
65 # __dev__ by device letter (b, c, d ...)
66 # __vpci__ by vpci (vpci must be provided)
67