bug 838 fix vnfd obtained from nsr reference
[osm/NBI.git] / osm_nbi / tests / cirros_slice / cirros_2net_nst_basic.yaml
1 # Copyright [2018] [Felipe Vicens, Pol Alemany, Ricard Vilalta]
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 implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
14
15 #NST to test VLD connection between Network Services within the same VIM
16 nst:
17 -   id: cirros_2net_nst_basic
18     name: cirros_2net_nst_basic
19     SNSSAI-identifier:
20         slice-service-type: eMBB
21     quality-of-service:
22         id: 1
23
24     netslice-subnet:
25     -   id: cirros_2net_vld_nsd_1
26         is-shared-nss: 'false'
27         description: NetSlice Subnet (service) composed by 2 vnfs and 4 cp (2 mgmt and 2 data)
28         nsd-ref: cirros_2net_vld_nsd
29     -   id: cirros_2net_vld_nsd_2
30         is-shared-nss: 'false'
31         description: NetSlice Subnet (service) composed by 2 vnfs and 4 cp (2 mgmt and 2 data)
32         nsd-ref: cirros_2net_vld_nsd
33
34     netslice-vld:
35     -   id: slice_cirros_vld_mgmt
36         name: slice_cirros_vld_mgmt
37         type: ELAN
38         mgmt-network: 'true'
39         nss-connection-point-ref:
40         -   nss-ref: cirros_2net_vld_nsd_1
41             nsd-connection-point-ref: nsd_cp_mgmt
42         -   nss-ref: cirros_2net_vld_nsd_2
43             nsd-connection-point-ref: nsd_cp_mgmt
44     -   id: slice_cirros_vld_data
45         name: slice_cirros_vld_data
46         type: ELAN
47         nss-connection-point-ref:
48         -   nss-ref: cirros_2net_vld_nsd_1
49             nsd-connection-point-ref: nsd_cp_data
50         -   nss-ref: cirros_2net_vld_nsd_2
51             nsd-connection-point-ref: nsd_cp_data