inject_user_key routine fixes
[osm/RO.git] / test / RO_tests / passthrough / vnfd_1passthrough.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:        passthrough
24     description: Machine with EPA and a SR-IOV interface
25     external-connections:
26     -   name:              eth0
27         type:              bridge
28         VNFC:              passthrough-VM
29         local_iface_name:  eth0
30         description:       management interface
31     -   name:              xe0
32         type:              data
33         VNFC:              passthrough-VM
34         local_iface_name:  xe0
35         description:       Dataplane interface
36     VNFC:
37     -   name:        passthrough-VM
38         description: Machine with EPA and a SR-IOV interface
39         image name:  centos
40         disk: 20
41         numas: 
42         -   threads: 1          # "cores", "paired-threads", "threads"
43             memory: 1                 # GBytes
44             interfaces:
45             -   name:      xe0
46                 vpci:      "0000:00:11.0"
47                 dedicated: "yes"         # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag)
48                 bandwidth: 1 Gbps
49
50         bridge-ifaces:
51         -   name:      eth0
52             vpci:      "0000:00:0a.0"
53