blob: 32517398a3633c00de6d22ccc17617d8a885a832 [file] [log] [blame]
puthuparambil.adityae8c429e2021-02-02 15:20:48 +00001module cps-cavsta-onap-internal {
2 yang-version 1.1;
3 namespace "org:onap:ccsdk:features:sdnr:northbound:cps-cavsta-onap-internal";
4 prefix onap-cavsta;
5
6 organization
7 "Open Network Automation Platform - ONAP
8 <https://www.onap.org>";
9 contact
10 "Editors:
11 Àhila Pandaram
12 <mailto:ahila.pandaram@wipro.com>
13
14 Swaminathan Seetharaman
15 <mailto:swaminathan.seetharaman@wipro.com>";
16 description
17 "This module contains YANG definitions for the relationship among coverage area,
18 tracking area list and cells under each tracking area.
19 This relationship is used for internal purpose of ONAP to populate the details.
20
21 Copyright (C) 2020-2021 Wipro Limited.
22
23 Licensed under the Apache License, Version 2.0 (the 'License')
24 you may not use this file except in compliance with the License.
25 You may obtain a copy of the License at
26
27 http://www.apache.org/licenses/LICENSE-2.0
28
29 Unless required by applicable law or agreed to in writing, software
30 distributed under the License is distributed on an 'AS IS' BASIS,
31 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32 See the License for the specific language governing permissions and
33 limitations under the License.";
34
35 revision 2021-01-28 {
36 description
37 "RAN Network YANG Model for ONAP/O-RAN POC";
38 reference
39 "https://wiki.onap.org/display/DW/E2E+Network+Slicing+Use+Case+in+R7+Guilin";
40 }
41
42 typedef Tac {
43 type int64 {
44 range "0..16777215";
45 }
46 description
47 "Tracking Area Code";
48 reference
49 "TS 23.003 clause 19.4.2.3";
50 }
51
52
53 typedef Mcc {
54 type string;
55 description
56 "The mobile country code consists of three decimal digits,
57 The first digit of the mobile country code identifies the geographic
58 region (the digits 1 and 8 are not used):";
59 reference
60 "3GPP TS 23.003 subclause 2.2 and 12.1";
61 }
62
63 typedef Mnc {
64 type string;
65 description
66 "The mobile network code consists of two or three
67 decimal digits (for example: MNC of 001 is not the same as MNC of 01)";
68 reference
69 "3GPP TS 23.003 subclause 2.2 and 12.1";
70 }
71
72
73 grouping trackingAreaGroup{
74 leaf nRTAC {
75 type Tac;
76 description "Identity of the common Tracking Area Code for the PLMNs
77 allowedValues:
78 a) It is the TAC or Extended-TAC.
79 b) A cell can only broadcast one TAC or Extended-TAC.
80 See TS 36.300, subclause 10.1.7 (PLMNID and TAC relation).
81 c) TAC is defined in subclause 19.4.2.3 of 3GPP TS 23.003 and
82 Extended-TAC is defined in subclause 9.3.1.29 of 3GPP TS 38.473.
83 d) For a 5G SA (Stand Alone), it has a non-null value.";
84 }
85 list taCellsList{
86 key cellLocalId;
87 leaf cellLocalId {
88 description "Identifies an NR cell of a gNB. Together with corresponding
89 gNB ID it forms the NR Cell Identifier (NCI).";
90 mandatory true;
91 type int32 { range "0..16383"; }
92 }
93 }
94 }
95
96 grouping PLMNId {
97 description
98 "It specifies the PLMN identifier to be used as part of the global RAN node identity";
99 reference
100 "TS 23.658";
101 leaf mcc {
102 type Mcc;
103 mandatory true;
104 description
105 "The mobile country code consists of three decimal digits,
106 The first digit of the mobile country code identifies the geographic
107 region (the digits 1 and 8 are not used)";
108 }
109 leaf mnc {
110 type Mnc;
111 mandatory true;
112 description
113 "The mobile network code consists of two or three
114 decimal digits (for example: MNC of 001 is not the same as MNC of 01)";
115 }
116 }
117
118
119 grouping coverageAreaGroup{
120 leaf coverageArea{
121 description "An attribute specifies the coverage area of the network slice,
122 i.e. the geographic region where a 3GPP communication service is accessible,
123 see Table 7.1-1 of TS 22.261 [28]) and NG.116 [50].";
124 type string;
125 }
126
127 list coverageAreaTAList{
128 uses trackingAreaGroup;
129 key "nRTAC";
130 description "This list contains the tracking area list for the coverageArea";
131 }
132 }
133
134 container ran-coverage-area{
135
136 list pLMNIdList {
137 description "List of at most six entries of PLMN Identifiers, but at least
138 one (the primary PLMN Id).
139 The PLMN Identifier is composed of a Mobile Country Code (MCC) and a
140 Mobile Network Code (MNC).";
141 key "mcc mnc";
142 uses PLMNId;
puthuparambil.adityae8c429e2021-02-02 15:20:48 +0000143
puthuparambil.adityae8c429e2021-02-02 15:20:48 +0000144 list coverage-area{
145 uses coverageAreaGroup;
146 key "coverageArea";
147 description "This list contains the list of coverage area of a PLMNID";
148 }
puthuparambil.aditya355ed992021-02-05 17:43:58 +0000149 }
150
151
puthuparambil.adityae8c429e2021-02-02 15:20:48 +0000152 }
153 }