inject_user_key routine fixes
[osm/RO.git] / test / RO_tests / afiinity_vnf / vnfd_linux_2_vnfc_affinity.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
23 vnf:
24     name:        linux_test_2vms
25     description: Single-VM VNF with a traditional cloud VM based on generic Linux OS
26     external-connections:
27     -   name:              control0
28         type:              mgmt              # "mgmt" (autoconnect to management net), "bridge", "data"
29         VNFC:              linux-VM-HA-A  # Virtual Machine this interface belongs to
30         local_iface_name:  eth0             # interface name inside this Virtual Machine (must be defined in the VNFC section)
31         description:       Management interface 0
32     -   name:              control1
33         type:              mgmt              # "mgmt" (autoconnect to management net), "bridge", "data"
34         VNFC:              linux-VM-HA-B  # Virtual Machine this interface belongs to
35         local_iface_name:  eth0             # interface name inside this Virtual Machine (must be defined in the VNFC section)
36         description:       Management interface 1
37     VNFC:
38     -   name:        linux-VM-HA-A
39         description: Generic Linux Virtual Machine
40         availability_zone: A  # availanility zone A
41         #Copy the image to a compute path and edit this path
42         image name:  TestVM
43         vcpus: 1          # Only for traditional cloud VMs. Number of virtual CPUs (oversubscription is allowed).
44         ram: 1024         # Only for traditional cloud VMs. Memory in MBytes (not from hugepages, oversubscription is allowed)
45         disk: 10
46         bridge-ifaces:
47         -   name:      eth0
48             vpci:      "0000:00:11.0"
49         numas: []
50     -   name:        linux-VM-HA-B
51         description: Generic Linux Virtual Machine
52         availability_zone: B # availanility zone B
53         #Copy the image to a compute path and edit this path
54         image name:  TestVM
55         vcpus: 1          # Only for traditional cloud VMs. Number of virtual CPUs (oversubscription is allowed).
56         ram: 1024         # Only for traditional cloud VMs. Memory in MBytes (not from hugepages, oversubscription is allowed)
57         disk: 10
58         bridge-ifaces:
59         -   name:      eth0
60             vpci:      "0000:00:12.0"
61         numas: []