validation.py: fix typos in schemas with oneOf
[osm/NBI.git] / osm_nbi / tests / cirros_slice / cirros_slice_vld.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 nst:
15 -   id: cirros_nst
16     name: cirros_netslice_template
17     SNSSAI-identifier:
18         slice-service-type: eMBB
19     quality-of-service:
20         id: 1
21     netslice-subnet:
22     -   id: cirros_nsd_1
23         is-shared-nss: 'false'
24         description: Slice example for osm-5.0
25         nsd-ref: cirros_nsd
26         instantiation-parameters:
27         -   nsName: cirros_nsd
28             nsdId: cirros_nsd
29             vimAccountId: openstack_18
30     -   id: cirros_nsd_2
31         is-shared-nss: 'false'
32         description: Slice example for osm-5.0
33         nsd-ref: cirros_nsd
34         instantiation-parameters:
35         -   nsName: cirros_nsd
36             nsdId: cirros_nsd
37             vimAccountId: openstack_18
38     netslice-vld:
39     -   id: slice_cirros_vld1
40         name: slice_cirros_vld1
41         nsd-connection-point-ref:
42         -   nsd-ref: cirros_nsd
43             nsd-connection-point-ref: cirros_nsd_vld1