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