2 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
\r
3 # This file is part of openmano
\r
4 # All Rights Reserved.
\r
6 # Licensed under the Apache License, Version 2.0 (the "License"); you may
\r
7 # not use this file except in compliance with the License. You may obtain
\r
8 # a copy of the License at
\r
10 # http://www.apache.org/licenses/LICENSE-2.0
\r
12 # Unless required by applicable law or agreed to in writing, software
\r
13 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
\r
14 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
\r
15 # License for the specific language governing permissions and limitations
\r
16 # under the License.
\r
18 # For those usages not covered by the Apache License, Version 2.0 please
\r
19 # contact with: nfvlabs@tid.es
\r
22 schema_version: "0.2"
\r
24 name: dataplaneVNF_2VMs_v02
\r
25 description: "Example of a dataplane VNF consisting of two VMs for data plane workloads with one internal network"
\r
26 # class: parent # Optional. Used to organize VNFs
\r
27 internal-connections:
\r
29 description: datanet
\r
31 implementation: underlay
\r
34 subnet-address: 192.168.1.0/24
\r
35 gateway-address: 192.168.1.1
\r
36 dns-address: 8.8.8.8
\r
39 start-address: 192.168.1.100
\r
42 - VNFC: VNF_2VMs-VM1
\r
43 local_iface_name: xe0
\r
44 ip_address: 192.168.1.2
\r
45 - VNFC: VNF_2VMs-VM2
\r
46 local_iface_name: xe0
\r
47 ip_address: 192.168.1.3
\r
48 external-connections:
\r
52 local_iface_name: eth0
\r
53 description: control interface VM1
\r
57 local_iface_name: eth0
\r
58 description: control interface VM2
\r
62 local_iface_name: xe1
\r
63 description: Dataplane interface input
\r
67 local_iface_name: xe1
\r
68 description: Dataplane interface output
\r
70 - name: VNF_2VMs-VM1
\r
71 description: "Dataplane VM1 with 4 threads, 2 GB hugepages, 2 SR-IOV interface"
\r
72 #Copy the image to a compute path and edit this path
\r
73 VNFC image: /path/to/imagefolder/dataplaneVNF_2VMs.qcow2
\r
76 - paired-threads: 2 # "cores", "paired-threads", "threads"
\r
80 vpci: "0000:00:11.0"
\r
81 dedicated: "no" # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag)
\r
84 vpci: "0000:00:12.0"
\r
89 vpci: "0000:00:09.0"
\r
90 bandwidth: 1 Mbps # Optional, informative only
\r
92 - name: VNF_2VMs-VM2
\r
93 description: "Dataplane VM1 with 2 threads, 2 GB hugepages, 2 SR-IOV interface"
\r
94 #Copy the image to a compute path and edit this path
\r
95 VNFC image: /path/to/imagefolder/dataplaneVNF_2VMs.qcow2
\r
98 - paired-threads: 1 # "cores", "paired-threads", "threads"
\r
102 vpci: "0000:00:11.0"
\r
103 dedicated: "no" # "yes"(passthrough), "no"(sriov with vlan tags), "yes:sriov"(sriovi, but exclusive and without vlan tag)
\r
106 vpci: "0000:00:12.0"
\r
111 vpci: "0000:00:09.0"
\r
112 bandwidth: 1 Mbps # Optional, informative only
\r