| montesmoreno | 2a1fc4e | 2017-01-09 16:46:04 +0000 | [diff] [blame] | 1 | ## |
| 2 | # Copyright 2015 Telefónica Investigación 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_floating_ip |
| 24 | description: VNF disabling port_security option in mgmt interface |
| 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: vnf_floating_ip # 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: vnf_floating_ip # name of Virtual Machine |
| 34 | description: vnf_floating_ip |
| 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 | floating-ip: True |
| 58 | # mac_address: '20:33:45:56:77:46' #avoid this option if possible |
| 59 | # model: 'virtio' # ("virtio","e1000","ne2k_pci","pcnet","rtl8139") By default, it is automatically filled by libvirt |
| 60 | # Additional Virtual Machines would be included here |
| 61 | |