Initial commit to gerrit repo
[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:nsd-catalog:
16   nsd:
17   - description: Four cirros VNF latency and jitter constrained
18     id: test_five_nsd
19     name: test_five_nsd
20     short-name: test_five_nsd
21     vendor: ArctosLabs
22     version: '1.0'
23     constituent-vnfd:
24     - member-vnf-index: 1
25       vnfd-id-ref: test_one_a_vnfd
26     - member-vnf-index: 2
27       vnfd-id-ref: test_two_vnfd
28     - member-vnf-index: 3
29       vnfd-id-ref: test_one_a_vnfd
30     - member-vnf-index: 4
31       vnfd-id-ref: test_one_a_vnfd
32     vld:
33     - name: vl_two_vld
34       id: vl_two_vld
35       mgmt-network: !!bool False
36       type: ELAN
37       link-constraint:
38       - constraint-type: LATENCY
39         value: 120
40       - constraint-type: JITTER
41         value: 20
42       vnfd-connection-point-ref:
43       - member-vnf-index-ref: '1'
44         vnfd-connection-point-ref: vnf_cp_one_cp
45         vnfd-id-ref: test_one_a_vnfd
46       - member-vnf-index-ref: '2'
47         vnfd-connection-point-ref: vnf_cp_one_cp
48         vnfd-id-ref: test_two_vnfd
49     - name: vl_four_vld
50       id: vl_four_vld
51       mgmt-network: !!bool False
52       type: ELAN
53       link-constraint:
54       - constraint-type: LATENCY
55         value: 50
56       - constraint-type: JITTER
57         value: 10
58       vnfd-connection-point-ref:
59       - member-vnf-index-ref: '2'
60         vnfd-connection-point-ref: vnf_cp_three_cp
61         vnfd-id-ref: test_two_vnfd
62       - member-vnf-index-ref: '4'
63         vnfd-connection-point-ref: vnf_cp_one_cp
64         vnfd-id-ref: test_one_a_vnfd
65     - name: vl_five_vld
66       id: vl_five_vld
67       mgmt-network: !!bool False
68       type: ELAN
69       link-constraint:
70       - constraint-type: LATENCY
71         value: 20
72       - constraint-type: JITTER
73         value: 10
74       vnfd-connection-point-ref:
75       - member-vnf-index-ref: '2'
76         vnfd-connection-point-ref: vnf_cp_two_cp
77         vnfd-id-ref: test_two_vnfd
78       - member-vnf-index-ref: '3'
79         vnfd-connection-point-ref: vnf_cp_one_cp
80         vnfd-id-ref: test_one_a_vnfd
81     - name: vld_vnf_mgmt
82       id: vld_vnf_mgmt1
83       mgmt-network: !!bool True
84       type: ELAN
85       vnfd-connection-point-ref:
86       - member-vnf-index-ref: '1'
87         vnfd-connection-point-ref: vnf_cp_two_cp
88         vnfd-id-ref: test_one_a_vnfd
89       - member-vnf-index-ref: '3'
90         vnfd-connection-point-ref: vnf_cp_two_cp
91         vnfd-id-ref: test_one_a_vnfd
92     - name: vld_vnf_mgmt
93       id: vld_vnf_mgmt2
94       mgmt-network: !!bool True
95       type: ELAN
96       vnfd-connection-point-ref:
97       - member-vnf-index-ref: '1'
98         vnfd-connection-point-ref: vnf_cp_two_cp
99         vnfd-id-ref: test_one_a_vnfd
100       - member-vnf-index-ref: '4'
101         vnfd-connection-point-ref: vnf_cp_two_cp
102         vnfd-id-ref: test_one_a_vnfd
103
104