Moved examples folder to project root.
[osm/vim-emu.git] / examples / services / pingpong_ns / pingpong_nsd.yaml
1 ---
2 # Copyright (c) 2018 by Paderborn University and Manuel Peuster
3 # (manuel@peuster.de)
4 # ALL RIGHTS RESERVED.
5 #
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain 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,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17 #
18 # Neither the name of the Paderborn University
19 # nor the names of its contributors may be used to endorse or promote
20 # products derived from this software without specific prior written
21 # permission.
22
23 nsd-catalog:
24     nsd:
25     -   id: pingpong
26         name: pingpong
27         short-name: pingpong
28         description: Ping-pong example nentwork scenario with two VNFs.
29         vendor: "Paderborn University"
30         version: '1.1'
31
32         # Place the logo as png in icons directory and provide the name here
33         # logo: <update, optional>
34
35         # Specify the VNFDs that are part of this NSD
36         constituent-vnfd:
37             # The member-vnf-index needs to be unique, starting from 1
38             # vnfd-id-ref is the id of the VNFD
39             # Multiple constituent VNFDs can be specified
40         -   member-vnf-index: '1'
41             vnfd-id-ref: ping
42         -   member-vnf-index: '2'
43             vnfd-id-ref: pong
44
45         vld:
46         -   id: mgmt_vl
47             description: Management VL
48             name: mgmt_vl
49             short-name: mgmt_vl
50             vim-network-name: default  # important for emulator!
51             type: ELAN
52             vendor: "Paderborn University"
53             version: '1.0'
54             mgmt-network: 'true'
55             vnfd-connection-point-ref:
56             -   member-vnf-index-ref: '1'
57                 vnfd-connection-point-ref: ping/cp0
58                 vnfd-id-ref: ping
59             -   member-vnf-index-ref: '2'
60                 vnfd-connection-point-ref: pong/cp0
61                 vnfd-id-ref: pong
62         #vld:
63         # Networks for the VNFs
64         #    -   id: demo_nsd_vld0
65         #        name: management
66         #        short-name: management
67         #        type: ELAN
68         #        mgmt-network: 'true'
69         #        # vim-network-name: <update>
70         #        # provider-network:
71         #        #     overlay-type: VLAN
72         #        #     segmentation_id: <update>
73         #        vnfd-connection-point-ref:
74         #        # Specify the constituent VNFs
75         #        # member-vnf-index-ref - entry from constituent vnf
76         #        # vnfd-id-ref - VNFD id
77         #        # vnfd-connection-point-ref - connection point name in the VNFD
78         #        -   nsd:member-vnf-index-ref: 1
79         #            nsd:vnfd-id-ref: http_vnfd
80         #            # NOTE: Validate the entry below
81         #            nsd:vnfd-connection-point-ref: eth0
82         #    -   id: http_nsd_vld1
83         #        name: http_nsd_vld1
84         #        short-name: http_nsd_vld1
85         #        type: ELAN
86         #        # vim-network-name: <update>
87         #        # provider-network:
88         #        #     overlay-type: VLAN
89         #        #     segmentation_id: <update>
90         #        vnfd-connection-point-ref:
91         #        # Specify the constituent VNFs
92         #        # member-vnf-index-ref - entry from constituent vnf
93         #        # vnfd-id-ref - VNFD id
94         #        # vnfd-connection-point-ref - connection point name in the VNFD
95         #        -   nsd:member-vnf-index-ref: 1
96         #            nsd:vnfd-id-ref: http_vnfd
97         #            # NOTE: Validate the entry below
98         #            nsd:vnfd-connection-point-ref: eth1