Fixes bug 553: Missing license headers
[osm/vim-emu.git] / misc / tango-demo-service-project / tango_emulator_example.yml
1 # Copyright (c) 2018 by Paderborn University
2 # (manuel@peuster.de)
3 # ALL RIGHTS RESERVED.
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 #     http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 #
17 # Neither the name of the OSM, Paderborn University
18 # nor the names of its contributors may be used to endorse or promote
19 # products derived from this software without specific prior written
20 # permission.
21 ---
22 descriptor_schema: >-
23   https://raw.githubusercontent.com/sonata-nfv/tng-schema/master/service-descriptor/nsd-schema.yml
24 vendor: eu.5gtango
25 name: emulator_example
26 version: '0.9'
27 author: Manuel Peuster (Paderborn University)
28 description: >-
29   This is a small example service to showcase how vim-emu can deploy simple
30   5GTANGO network service packages.
31 network_functions:
32   - vnf_id: vnf0
33     vnf_vendor: eu.5gtango
34     vnf_name: default-vnf0
35     vnf_version: '0.9'
36   - vnf_id: vnf1
37     vnf_name: default-vnf1
38     vnf_vendor: eu.5gtango
39     vnf_version: '0.9'
40 connection_points:
41   - id: mgmt
42     interface: ipv4
43     type: management
44   - id: input
45     interface: ipv4
46     type: external
47   - id: output
48     interface: ipv4
49     type: external
50 virtual_links:
51   - id: mgmt
52     connectivity_type: E-LAN
53     connection_points_reference:
54       - 'vnf0:mgmt'
55       - 'vnf1:mgmt'
56       - mgmt
57   - id: input-2-vnf0
58     connectivity_type: E-Line
59     connection_points_reference:
60       - input
61       - 'vnf0:input'
62   - id: vnf0-2-vnf1
63     connectivity_type: E-Line
64     connection_points_reference:
65       - 'vnf0:output'
66       - 'vnf1:input'
67   - id: vnf1-2-output
68     connectivity_type: E-Line
69     connection_points_reference:
70       - 'vnf1:output'
71       - output
72 forwarding_graphs:
73   - fg_id: fg01
74     number_of_endpoints: 2
75     number_of_virtual_links: 3
76     constituent_virtual_links:
77       - input-2-vnf0
78       - vnf0-2-vnf1
79       - vnf1-2-output
80     constituent_vnfs:
81       - vnf0
82       - vnf1
83     network_forwarding_paths:
84       - fp_id: 'fg01:fp01'
85         policy: none
86         connection_points:
87           - connection_point_ref: input
88             position: 1
89           - connection_point_ref: 'vnf0:input'
90             position: 2
91           - connection_point_ref: 'vnf0:output'
92             position: 3
93           - connection_point_ref: 'vnf1:input'
94             position: 4
95           - connection_point_ref: 'vnf1:output'
96             position: 5
97           - connection_point_ref: output
98             position: 6