2 # Copyright 2015 Telefonica Investigacion y Desarrollo, S.A.U.
3 # This file is part of openmano
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
10 # http://www.apache.org/licenses/LICENSE-2.0
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
18 # For those usages not covered by the Apache License, Version 2.0 please
19 # contact with: nfvlabs@tid.es
24 name: dataplaneVNF_2VMs_v02
25 description: "Example of a dataplane VNF consisting of two VMs for data plane workloads with one internal network"
26 # class: parent # Optional. Used to organize VNFs
31 implementation: underlay
34 subnet-address: 192.168.1.0/24
35 gateway-address: 192.168.1.1
39 start-address: 192.168.1.100
44 ip_address: 192.168.1.2
47 ip_address: 192.168.1.3
52 local_iface_name: eth0
53 description: control interface VM1
57 local_iface_name: eth0
58 description: control interface VM2
63 description: Dataplane interface input
68 description: Dataplane interface output
71 description: "Dataplane VM1 with 4 threads, 2 GB hugepages, 2 SR-IOV interface"
72 #Copy the image to a compute path and edit this path
73 VNFC image: /path/to/imagefolder/dataplaneVNF_2VMs.qcow2
76 - paired-threads: 2 # "cores", "paired-threads", "threads"
81 dedicated: "no" # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag)
90 bandwidth: 1 Mbps # Optional, informative only
93 description: "Dataplane VM1 with 2 threads, 2 GB hugepages, 2 SR-IOV interface"
94 #Copy the image to a compute path and edit this path
95 VNFC image: /path/to/imagefolder/dataplaneVNF_2VMs.qcow2
98 - paired-threads: 1 # "cores", "paired-threads", "threads"
103 dedicated: "no" # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag)
112 bandwidth: 1 Mbps # Optional, informative only