test_RO: Removing deprecated tests and updating some examples
[osm/RO.git] / test / RO_tests / simple_multi_vnfc / vnfd_linux_2VMs_v02.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 vnfd-catalog:
23     vnfd:
24      -  id: linux_2VMs_v02
25         name: linux_2VMs_v02
26         description: "Example of a linux VNF consisting of two VMs with one internal network"
27         connection-point:
28         -   id: eth0
29             name: eth0
30             short-name: eth0
31             type: VPORT
32         -   id: xe1
33             name: xe1
34             short-name: xe1
35             type: VPORT
36         internal-vld:
37         -   id: internalnet
38             name: internalnet
39             short-name: internalnet
40             ip-profile-ref: ip-prof1
41             type: ELAN
42             internal-connection-point:
43             -   id-ref: VM1-xe0
44             -   id-ref: VM2-xe0
45         ip-profiles:
46         -   name: ip-prof1
47             description: IP profile
48             gateway-address:  192.168.1.1
49             dns-address: 8.8.8.8
50             #-   address: 8.8.8.8
51             ip-profile-params:
52             ip-version: ipv4
53             subnet-address: 192.168.1.0/24
54             dhcp-params:
55                 enabled: true
56                 start-address: 192.168.1.100
57                 count: 100
58         vdu:
59         -   id: linux_2VMs-VM1
60             name: linux_2VMs-VM1
61             description: Generic Linux Virtual Machine
62             #Copy the image to a compute path and edit this path
63             image:  TestVM
64             vm-flavor:
65                   memory-mb: '2048'
66                   storage-gb: '10'
67                   vcpu-count: '4'
68             interface:
69             -   name: eth0
70                 type: EXTERNAL
71                 virtual-interface:
72                     type: VIRTIO
73                     vpci:      "0000:00:09.0"
74                 external-connection-point-ref: eth0
75             -   name: xe0
76                 type: INTERNAL
77                 virtual-interface:
78                     type: VIRTIO
79                     vpci:      "0000:00:11.0"
80                 internal-connection-point-ref: VM1-xe0
81             -   name: xe1
82                 type: EXTERNAL
83                 virtual-interface:
84                     type: VIRTIO
85                     vpci:      "0000:00:12.0"
86                 external-connection-point-ref: xe1
87             internal-connection-point:
88             - id: VM1-xe0
89               name: VM1-xe0
90               short-name: VM1-xe0
91               type: VPORT
92         -   id: linux_2VMs-VM2
93             name: linux_2VMs-VM2
94             description: Generic Linux Virtual Machine
95             #Copy the image to a compute path and edit this path
96             image:  TestVM
97             vm-flavor:
98                 memory-mb: '2048'
99                 storage-gb: '10'
100                 vcpu-count: '4'
101             interface:
102             -   name: eth0
103                 type: EXTERNAL
104                 virtual-interface:
105                     type: VIRTIO
106                     vpci:      "0000:00:09.0"
107                 external-connection-point-ref: eth0
108             -   name: xe0
109                 type: INTERNAL
110                 virtual-interface:
111                     type: VIRTIO
112                     vpci:      "0000:00:11.0"
113                 internal-connection-point-ref: VM2-xe0
114             -   name: xe1
115                 type: EXTERNAL
116                 virtual-interface:
117                     type: VIRTIO
118                     vpci:      "0000:00:12.0"
119                 external-connection-point-ref: xe1
120             internal-connection-point:
121             -   id: VM2-xe0
122                 name: VM2-xe0
123                 short-name: VM2-xe0
124                 type: VPORT