Adapts PLA to new SOL006 NSD descriptors format
[osm/PLA.git] / osm_pla / test / nsd_unittest1.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: Placement constraints NSD
18     designer: ArctosLabs
19     df:
20     - id: default-df
21       vnf-profile:
22       - id: '1' # Old member-vnf-index
23         virtual-link-connectivity:
24         - constituent-cpd-id:
25           - constituent-base-element-id: '1'
26             constituent-cpd-id: vnf-cp0-ext
27           virtual-link-profile-id: three_vnf_constrained_nsd_vld1
28         vnfd-id: cirros_vnfd_v2
29       - id: '2'
30         virtual-link-connectivity:
31         - constituent-cpd-id:
32           - constituent-base-element-id: '2'
33             constituent-cpd-id: vnf-cp0-ext
34           virtual-link-profile-id: three_vnf_constrained_nsd_vld1
35         - constituent-cpd-id:
36           - constituent-base-element-id: '2'
37             constituent-cpd-id: vnf-cp0-ext
38           virtual-link-profile-id: three_vnf_constrained_nsd_vld2
39         vnfd-id: cirros_vnfd_v2
40       - id: '3'
41         virtual-link-connectivity:
42         - constituent-cpd-id:
43           - constituent-base-element-id: '3'
44             constituent-cpd-id: vnf-cp0-ext
45           virtual-link-profile-id: three_vnf_constrained_nsd_vld2
46         vnfd-id: cirros_vnfd_v2
47     id: three_vnf_constrained_nsd
48     name: three_vnf_constrained_nsd
49     version: '1.0'
50     virtual-link-desc:
51     - id: three_vnf_constrained_nsd_vld1
52       vim-network-name: private
53       df:
54       - id: default-df
55         qos:
56           latency: 90
57           packet-delay-variation: 30
58     - id: three_vnf_constrained_nsd_vld2
59       vim-network-name: private
60       df:
61       - id: default-df
62         qos:
63           latency: 150
64           packet-delay-variation: 30
65     vnfd-id:
66     - cirros_vnfd_v2