Revert "Removing deprecated/unused/outdated code"
[osm/RO.git] / instance-scenarios / examples / instance-creation-complex4.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.1"
23 instance:
24   name:          complex4-instance
25   description:   Example of IP parameters in networks
26   scenario:      complex4
27   networks: 
28     dataconn1:
29       ip-profile:
30         ip-version:       IPv4
31         subnet-address:   10.11.1.0/24
32         gateway-address:  10.11.1.1
33         dns-address:      8.8.8.8
34         dhcp:
35           enabled:       true
36           start-address: 10.11.1.100
37           count:         150
38       interfaces:
39       -   vnf:           VNF1
40           vnf_interface: in
41           ip_address:    10.11.1.2
42       -   vnf:           VNF2
43           vnf_interface: in
44           ip_address:    10.11.1.3
45     dataconn2:
46       ip-profile:
47         ip-version:       IPv4
48         subnet-address:   10.11.2.0/24
49         gateway-address:  10.11.2.1
50         dns-address:      8.8.8.8
51         dhcp:
52           enabled:       true
53           start-address: 10.11.2.100
54           count:         150
55       interfaces:
56       -   vnf:           VNF1
57           vnf_interface: out
58           ip_address:    10.11.2.2
59       -   vnf:           VNF2
60           vnf_interface: out
61           ip_address:    10.11.2.3
62
63