Initial commit to gerrit repo
[osm/PLA.git] / osm_pla / test / nsd_unittest2.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: one
19             vnfd-id-ref: cirros_vnfd_v2
20         -   member-vnf-index: two
21             vnfd-id-ref: cirros_vnfd_v2
22         -   member-vnf-index: three
23             vnfd-id-ref: cirros_vnfd_v2
24         description: Placement no constraints NSD
25         id: three_vnf_no_constrained_nsd
26         name: three_vnf_no_constrained_nsd
27         short-name: three_vnf_no_constrained_nsd
28         vendor: ArctosLabs
29         version: '1.0'
30         vld:
31         -   id: three_vnf_no_constrained_nsd_vld1
32             link-constraint:
33                 - constraint-type: JITTER
34                   value: 30
35             mgmt-network: !!bool False
36             name: ns_no_constrained_nsd_vld1
37             short-name: ns_no_constrained_nsd_vld1
38             type: ELAN
39             vim-network-name: private
40             vnfd-connection-point-ref:
41             -   member-vnf-index-ref: one
42                 vnfd-connection-point-ref: vnf-cp0
43                 vnfd-id-ref: cirros_vnfd_v2
44             -   member-vnf-index-ref: two
45                 vnfd-connection-point-ref: vnf-cp0
46                 vnfd-id-ref: cirros_vnfd_v2
47         -   id: three_vnf_no_constrained_nsd_vld2
48             link-constraint:
49                 - constraint-type: LATENCY
50                   value: 120
51             mgmt-network: !!bool False
52             name: ns_no_constrained_nsd_vld2
53             short-name: ns_no_constrained_nsd_vld2
54             type: ELAN
55             vim-network-name: private
56             vnfd-connection-point-ref:
57             -   member-vnf-index-ref: two
58                 vnfd-connection-point-ref: vnf-cp0
59                 vnfd-id-ref: cirros_vnfd_v2
60             -   member-vnf-index-ref: three
61                 vnfd-connection-point-ref: vnf-cp0
62                 vnfd-id-ref: cirros_vnfd_v2