1 module cps-ran-inventory {
3 namespace "org:onap:ccsdk:features:sdnr:northbound:cps-ran-inventory";
7 "Open Network Automation Platform - ONAP
8 <https://www.onap.org>";
12 <mailto:ahila.pandaram@wipro.com>
14 Swaminathan Seetharaman
15 <mailto:swaminathan.seetharaman@wipro.com>";
17 "This module contains YANG definitions of RAN inventory that contains the NSSI and slice profile details.
19 Copyright (C) 2020-2021 Wipro Limited.
21 Licensed under the Apache License, Version 2.0 (the 'License')
22 you may not use this file except in compliance with the License.
23 You may obtain a copy of the License at
25 http://www.apache.org/licenses/LICENSE-2.0
27 Unless required by applicable law or agreed to in writing, software
28 distributed under the License is distributed on an 'AS IS' BASIS,
29 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
30 See the License for the specific language governing permissions and
31 limitations under the License.";
35 "RAN Network YANG Model for ONAP/O-RAN POC";
37 "https://wiki.onap.org/display/DW/E2E+Network+Slicing+Use+Case+in+R7+Guilin";
43 "The mobile country code consists of three decimal digits,
44 The first digit of the mobile country code identifies the geographic
45 region (the digits 1 and 8 are not used):";
47 "3GPP TS 23.003 subclause 2.2 and 12.1";
53 "The mobile network code consists of two or three
54 decimal digits (for example: MNC of 001 is not the same as MNC of 01)";
56 "3GPP TS 23.003 subclause 2.2 and 12.1";
59 grouping SliceProfile{
63 description "slice profile id";
68 description "The S-NSSAI may include both the SST and SD fields (in which case the S-NSSAI length is 32 bits in total), or the S-NSSAI may just include the SST field (in which case the S-NSSAI length is 8 bits only)";
71 type int64 { range "0..68719476735"; }
73 description "maximum number of UEs";
76 type int64 { range "0..68719476735"; }
78 description "latency of the slice requested by the operator";
81 type int64 { range "0..68719476735"; }
83 description "uplink throughput of the slice requested by the operator";
86 type int64 { range "0..68719476735"; }
88 description "downlink throughput of the slice requested by the operator";
90 leaf maxNumberofConns{
91 type int64 { range "0..68719476735"; }
93 description "maximum number of connections to be served by the slice";
98 description "Mobility level of the UE";
100 leaf resourceSharingLevel{
102 description "Resource sharing level";
105 leaf-list coverageAreaList{
108 description "Identifies the list of coverage areas to be served by the slice";
112 description "List of at most six entries of PLMN Identifiers, but at least
113 one (the primary PLMN Id).
114 The PLMN Identifier is composed of a Mobile Country Code (MCC) and a
115 Mobile Network Code (MNC).";
124 "It specifies the PLMN identifier to be used as part of the global RAN node identity";
131 "The mobile country code consists of three decimal digits,
132 The first digit of the mobile country code identifies the geographic
133 region (the digits 1 and 8 are not used)";
139 "The mobile network code consists of two or three
140 decimal digits (for example: MNC of 001 is not the same as MNC of 01)";
144 container ran-inventory{
146 description "NSSI of a RAN network function";
150 list sliceProfilesList{
152 key "sliceProfileId";
153 description "List of slice profiles supported by the ran slice";
157 description "status of RAN NF NSSI";
162 description "template Id of a RAN NF NSST";
167 description "Type of RAN Slice";
172 description "Shareability of RAN Slice";