Revert "Removing deprecated/unused/outdated code"
[osm/RO.git] / RO / test / RO_tests / empy_volume / vnfd_additional_disk_empty_volume.yaml
1 ##
2 # Copyright 2015 Telefonica Investigacion y Desarrollo, S.A.U.
3 # 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 ---
22 vnf:
23     name: vnf_additional_disk_empty_volume
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         image name: ubuntu16.04
36         # image metadata: {"bus":"ide", "os_type":"windows", "use_incremental": "no" } #Optional
37         # processor:                     #Optional
38         #     model: Intel(R) Xeon(R) CPU E5-4620 0 @ 2.20GHz
39         #     features: ["64b", "iommu", "lps", "tlbps", "hwsv", "dioc", "ht"]
40         # hypervisor:                    #Optional
41         #     type: QEMU-kvm
42         #     version: "10002|12001|2.6.32-358.el6.x86_64"
43         vcpus: 1          # Only for traditional cloud VMs. Number of virtual CPUs (oversubscription is allowed).
44         ram: 1000         # Only for traditional cloud VMs. Memory in MBytes (not from hugepages, oversubscription is allowed)
45         disk: 5          # disk size in GiB, by default 1
46         #numas: 
47         #-   paired-threads: 5          # "cores", "paired-threads", "threads"
48         #    paired-threads-id: [ [0,1], [2,3], [4,5], [6,7], [8,9] ] # By default follows incremental order
49         #    memory: 14                 # GBytes
50         #    interfaces: []
51         bridge-ifaces:
52         -   name:      mgmt0
53             vpci:      "0000:00:0a.0"    # Optional. Virtual PCI address
54             bandwidth: 1 Mbps            # Optional. Informative only
55             # mac_address: '20:33:45:56:77:46' #avoid this option if possible
56             # model:       'virtio'      # ("virtio","e1000","ne2k_pci","pcnet","rtl8139") By default, it is automatically filled by libvirt
57         devices:                       # Optional, order determines device letter asignation (hda, hdb, ...)
58         -   type:      disk            # "disk","cdrom","xml"
59             size: 1
60             # image metadata: {"bus":"ide", "os_type":"windows", "use_incremental": "no" }
61             # vpci:      "0000:00:03.0"   # Optional, not for disk or cdrom
62     # Additional Virtual Machines would be included here
63