Fixed warning in test_python.py: yaml.safe_load instead of load
[osm/IM.git] / tests / examples / cirros_nsd_im.yaml
1 #  Copyright 2020 Whitestack LLC
2 #
3 #  Licensed under the Apache License, Version 2.0 (the "License");
4 #  you may not use this file except in compliance with the License.
5 #  You may obtain a copy of the License at
6 #
7 #    http://www.apache.org/licenses/LICENSE-2.0
8 #
9 #  Unless required by applicable law or agreed to in writing, software
10 #  distributed under the License is distributed on an "AS IS" BASIS,
11 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12 #  implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15
16 nsd:nsd-catalog:
17   nsd:
18     - id: cirros_2vnf_nsd
19       name: cirros_2vnf_ns
20       short-name: cirros_2vnf_ns
21       description: Generated by OSM pacakage generator
22       vendor: OSM
23       version: "1.0"
24
25       # Place the logo as png in icons directory and provide the name here
26       logo: osm_2x.png
27
28       # Specify the VNFDs that are part of this NSD
29       constituent-vnfd:
30         # The member-vnf-index needs to be unique, starting from 1
31         # vnfd-id-ref is the id of the VNFD
32         # Multiple constituent VNFDs can be specified
33         - member-vnf-index: 1
34           vnfd-id-ref: cirros_vnfd
35         - member-vnf-index: 2
36           vnfd-id-ref: cirros_vnfd
37
38       vld:
39         # Networks for the VNFs
40         - id: cirros_2vnf_nsd_vld1
41           name: cirros_2vnf_nsd_vld1
42           short-name: cirros_2vnf_nsd_vld1
43           type: ELAN
44           mgmt-network: "true"
45           # vim-network-name: <update>
46           # provider-network:
47           #     overlay-type: VLAN
48           #     segmentation_id: <update>
49           vnfd-connection-point-ref:
50             # Specify the constituent VNFs
51             # member-vnf-index-ref - entry from constituent vnf
52             # vnfd-id-ref - VNFD id
53             # vnfd-connection-point-ref - connection point name in the VNFD
54             - member-vnf-index-ref: 1
55               vnfd-id-ref: cirros_vnfd
56               vnfd-connection-point-ref: eth0
57             - member-vnf-index-ref: 2
58               vnfd-id-ref: cirros_vnfd
59               vnfd-connection-point-ref: eth0