Revert "Removing deprecated/unused/outdated code"
[osm/RO.git] / RO / test / RO_tests / simple_count3 / vnfd_count3.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 schema_version: "0.2"
23 vnf:
24     name:        simple_linux_count3
25     description: "Example of a linux VNF consisting of two VMs with one internal network"
26     # class: parent      # Optional. Used to organize VNFs
27     internal-connections:
28     -   name:        internal-eth2
29         description: internalnet
30         type:        e-lan
31         implementation: overlay
32         ip-profile:
33             ip-version:       IPv4
34             subnet-address:   192.168.1.0/24
35             gateway-address:  192.168.1.1
36             dns-address:      8.8.8.8
37             dhcp:
38                 enabled: true
39                 start-address: 192.168.1.100
40                 count: 100
41         elements:
42         -   VNFC:             linux_3VMs
43             local_iface_name: eth2
44             ip_address:       192.168.1.2
45     external-connections:
46     -   name:              control0
47         type:              mgmt
48         VNFC:              linux_3VMs
49         local_iface_name:  eth0
50         description:       control interface VM1
51     -   name:              data-eth1
52         type:              bridge
53         VNFC:              linux_3VMs
54         local_iface_name:  eth1
55         description:       data interface input
56     VNFC:
57     -   name:        linux_3VMs
58         count:       3
59         description: "Linux VM1 2 CPUs, 2 GB RAM and 3 bridge interfaces"
60         #Copy the image to a compute path and edit this path
61         image name:  TestVM
62         disk: 10
63         vcpus: 2
64         ram: 2048
65         bridge-ifaces:
66         -   name:      eth0
67         -   name:      eth1
68         -   name:      eth2