Initial commit to gerrit repo
[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:nsd-catalog:
16     nsd:
17     -   constituent-vnfd:
18         -   member-vnf-index: 1
19             vnfd-id-ref: cirros_vnfd_v2
20         -   member-vnf-index: 2
21             vnfd-id-ref: cirros_vnfd_v2
22         -   member-vnf-index: 3
23             vnfd-id-ref: cirros_vnfd_v2
24         description: Placement constraints NSD
25         id: three_vnf_constrained_nsd
26         name: three_vnf_constrained_nsd
27         short-name: three_vnf_constrained_nsd
28         vendor: ArctosLabs
29         version: '1.0'
30         vld:
31         -   id: three_vnf_constrained_nsd_vld1
32             link-constraint:
33             -   constraint-type: LATENCY
34                 value: 150
35             -   constraint-type: JITTER
36                 value: 30
37             mgmt-network: !!bool False
38             name: ns_constrained_nsd_vld1
39             short-name: ns_constrained_nsd_vld1
40             type: ELAN
41             vim-network-name: private
42             vnfd-connection-point-ref:
43             -   member-vnf-index-ref: 1
44                 vnfd-connection-point-ref: vnf-cp0
45                 vnfd-id-ref: cirros_vnfd_v2
46             -   member-vnf-index-ref: 2
47                 vnfd-connection-point-ref: vnf-cp0
48                 vnfd-id-ref: cirros_vnfd_v2
49         -   id: three_vnf_constrained_nsd_vld2
50             link-constraint:
51             -   constraint-type: LATENCY
52                 value: 90
53             -   constraint-type: JITTER
54                 value: 30
55             mgmt-network: !!bool False
56             name: ns_constrained_nsd_vld2
57             short-name: ns_constrained_nsd_vld2
58             type: ELAN
59             vim-network-name: private
60             vnfd-connection-point-ref:
61             -   member-vnf-index-ref: 2
62                 vnfd-connection-point-ref: vnf-cp0
63                 vnfd-id-ref: cirros_vnfd_v2
64             -   member-vnf-index-ref: 3
65                 vnfd-connection-point-ref: vnf-cp0
66                 vnfd-id-ref: cirros_vnfd_v2