Adapts PLA to new SOL006 NSD descriptors format
[osm/PLA.git] / osm_pla / test / test_five_nsd.yaml
1 # Copyright 2020 ArctosLabs Scandinavia AB
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 nsd:
16   nsd:
17   - description: Four cirros VNF latency and jitter constrained
18     designer: ArctosLabs
19     df:
20     - id: default-df
21       vnf-profile:
22       - id: '1'
23         virtual-link-connectivity:
24         - constituent-cpd-id:
25           - constituent-base-element-id: '1'
26             constituent-cpd-id: vnf_cp_one_cp-ext
27           virtual-link-profile-id: vl_two_vld
28         - constituent-cpd-id:
29           - constituent-base-element-id: '1'
30             constituent-cpd-id: vnf_cp_two_cp-ext
31           virtual-link-profile-id: vld_vnf_mgmt1
32         - constituent-cpd-id:
33           - constituent-base-element-id: '1'
34             constituent-cpd-id: vnf_cp_two_cp-ext
35           virtual-link-profile-id: vld_vnf_mgmt2
36         vnfd-id: test_one_a_vnfd
37       - id: '2'
38         virtual-link-connectivity:
39         - constituent-cpd-id:
40           - constituent-base-element-id: '2'
41             constituent-cpd-id: vnf_cp_one_cp-ext
42           virtual-link-profile-id: vl_two_vld
43         - constituent-cpd-id:
44           - constituent-base-element-id: '2'
45             constituent-cpd-id: vnf_cp_three_cp-ext
46           virtual-link-profile-id: vl_four_vld
47         - constituent-cpd-id:
48           - constituent-base-element-id: '2'
49             constituent-cpd-id: vnf_cp_two_cp-ext
50           virtual-link-profile-id: vl_five_vld
51         vnfd-id: test_two_vnfd
52       - id: '4'
53         virtual-link-connectivity:
54         - constituent-cpd-id:
55           - constituent-base-element-id: '4'
56             constituent-cpd-id: vnf_cp_one_cp-ext
57           virtual-link-profile-id: vl_four_vld
58         - constituent-cpd-id:
59           - constituent-base-element-id: '4'
60             constituent-cpd-id: vnf_cp_two_cp-ext
61           virtual-link-profile-id: vld_vnf_mgmt2
62         vnfd-id: test_one_a_vnfd
63       - id: '3'
64         virtual-link-connectivity:
65         - constituent-cpd-id:
66           - constituent-base-element-id: '3'
67             constituent-cpd-id: vnf_cp_one_cp-ext
68           virtual-link-profile-id: vl_five_vld
69         - constituent-cpd-id:
70           - constituent-base-element-id: '3'
71             constituent-cpd-id: vnf_cp_two_cp-ext
72           virtual-link-profile-id: vld_vnf_mgmt1
73         vnfd-id: test_one_a_vnfd
74     id: test_five_nsd
75     name: test_five_nsd
76     version: '1.0'
77     virtual-link-desc:
78     - id: vl_two_vld
79       df:
80       - id: default-df
81         qos:
82           latency: 120
83           packet-delay-variation: 20
84     - id: vl_four_vld
85       df:
86       - id: default-df
87         qos:
88           latency: 50
89           packet-delay-variation: 10
90     - id: vl_five_vld
91       df:
92       - id: default-df
93         qos:
94           latency: 20
95           packet-delay-variation: 10
96     - id: vld_vnf_mgmt1
97       mgmt-network: true
98     - id: vld_vnf_mgmt2
99       mgmt-network: true
100     vnfd-id:
101     - test_one_a_vnfd
102     - test_two_vnfd
103
104