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: linux_2VMs_v02
\r
25 description: "Example of a linux VNF consisting of two VMs with one internal network"
\r
26 # class: parent # Optional. Used to organize VNFs
\r
27 internal-connections:
\r
29 description: internalnet
\r
31 implementation: overlay
\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: linux_2VMs-VM1
\r
43 local_iface_name: xe0
\r
44 ip_address: 192.168.1.2
\r
45 - VNFC: linux_2VMs-VM2
\r
46 local_iface_name: xe0
\r
47 ip_address: 192.168.1.3
\r
48 external-connections:
\r
51 VNFC: linux_2VMs-VM1
\r
52 local_iface_name: eth0
\r
53 description: control interface VM1
\r
56 VNFC: linux_2VMs-VM2
\r
57 local_iface_name: eth0
\r
58 description: control interface VM2
\r
61 VNFC: linux_2VMs-VM1
\r
62 local_iface_name: xe1
\r
63 description: data interface input
\r
66 VNFC: linux_2VMs-VM2
\r
67 local_iface_name: xe1
\r
68 description: data interface output
\r
70 - name: linux_2VMs-VM1
\r
71 description: "Linux VM1 with 4 CPUs, 2 GB RAM and 3 bridge interfaces"
\r
72 #Copy the image to a compute path and edit this path
\r
73 VNFC image: /path/to/imagefolder/linux_VNF_2VMs.qcow2
\r
79 vpci: "0000:00:09.0"
\r
80 bandwidth: 1 Mbps # Optional, informative only
\r
82 vpci: "0000:00:11.0"
\r
85 vpci: "0000:00:12.0"
\r
87 - name: linux_2VMs-VM2
\r
88 description: "Linux VM2 with 2 CPUs, 2 GB RAM and 3 bridge interfaces"
\r
89 #Copy the image to a compute path and edit this path
\r
90 VNFC image: /path/to/imagefolder/linux_VNF_2VMs.qcow2
\r
96 vpci: "0000:00:09.0"
\r
97 bandwidth: 1 Mbps # Optional, informative only
\r
99 vpci: "0000:00:11.0"
\r
102 vpci: "0000:00:12.0"
\r