##
# Copyright 2015 Telefonica Investigacion y Desarrollo, S.A.U.
# This file is part of openmano
# All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
#         http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
#
# For those usages not covered by the Apache License, Version 2.0 please
# contact with: nfvlabs@tid.es
##
---

vnf:
    name:        linux_test_2vms
    description: Single-VM VNF with a traditional cloud VM based on generic Linux OS
    external-connections:
    -   name:              control0
        type:              mgmt              # "mgmt" (autoconnect to management net), "bridge", "data"
        VNFC:              linux-VM-HA-A  # Virtual Machine this interface belongs to
        local_iface_name:  eth0             # interface name inside this Virtual Machine (must be defined in the VNFC section)
        description:       Management interface 0
    -   name:              control1
        type:              mgmt              # "mgmt" (autoconnect to management net), "bridge", "data"
        VNFC:              linux-VM-HA-B  # Virtual Machine this interface belongs to
        local_iface_name:  eth0             # interface name inside this Virtual Machine (must be defined in the VNFC section)
        description:       Management interface 1
    VNFC:
    -   name:        linux-VM-HA-A
        description: Generic Linux Virtual Machine
        availability_zone: A  # availanility zone A
        #Copy the image to a compute path and edit this path
        image name:  TestVM
        vcpus: 1          # Only for traditional cloud VMs. Number of virtual CPUs (oversubscription is allowed).
        ram: 1024         # Only for traditional cloud VMs. Memory in MBytes (not from hugepages, oversubscription is allowed)
        disk: 10
        bridge-ifaces:
        -   name:      eth0
            vpci:      "0000:00:11.0"
        numas: []
    -   name:        linux-VM-HA-B
        description: Generic Linux Virtual Machine
        availability_zone: B # availanility zone B
        #Copy the image to a compute path and edit this path
        image name:  TestVM
        vcpus: 1          # Only for traditional cloud VMs. Number of virtual CPUs (oversubscription is allowed).
        ram: 1024         # Only for traditional cloud VMs. Memory in MBytes (not from hugepages, oversubscription is allowed)
        disk: 10
        bridge-ifaces:
        -   name:      eth0
            vpci:      "0000:00:12.0"
        numas: []
