Support of WG4 OpenFronthaul Management-Plane VES
[scp/oam/modeling.git] / data-model / yang / published / o-ran / ru-fh / o-ran-shared-cell@2022-12-05.yang
1 module o-ran-shared-cell {
2   yang-version 1.1;
3   namespace "urn:o-ran:shared-cell:1.0";
4   prefix "o-ran-sc";
5
6   import o-ran-compression-factors {
7     prefix "cf";
8   }
9   import o-ran-processing-element {
10     prefix "o-ran-pe";
11   }
12
13   import o-ran-common-yang-types {
14     prefix "o-ran-cmn";
15   }
16
17   import o-ran-wg4-features {
18     prefix "feat";
19   }
20
21   import o-ran-usermgmt {
22     prefix "or-user";
23   }
24
25   organization "O-RAN Alliance";
26
27   contact
28     "www.o-ran.org";
29
30   description
31     "This module defines the YANG definitions for shared cell capable O-RU (Cascade and FHM).
32
33     Copyright 2020 the O-RAN Alliance.
34
35     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
36     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
37     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
38     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
39     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
40     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
41     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
42     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
43     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
44     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
45     POSSIBILITY OF SUCH DAMAGE.
46
47     Redistribution and use in source and binary forms, with or without
48     modification, are permitted provided that the following conditions are met:
49
50     * Redistributions of source code must retain the above copyright notice,
51     this list of conditions and the above disclaimer.
52     * Redistributions in binary form must reproduce the above copyright notice,
53     this list of conditions and the above disclaimer in the documentation
54     and/or other materials provided with the distribution.
55     * Neither the Members of the O-RAN Alliance nor the names of its
56     contributors may be used to endorse or promote products derived from
57     this software without specific prior written permission.";
58
59   revision "2022-12-05" {
60     description
61       "version 11.0.0
62
63       1) eaxc-id-group support in shared cell";
64
65     reference "ORAN-WG4.M.0-v11.00";
66   }
67
68
69   revision "2022-08-15" {
70     description
71       "version 10.0.0
72
73       1) added SHARED-ORU-MULTI-OPERATOR anf SHARED-ORU-MULTI-ODU features";
74
75     reference "ORAN-WG4.M.0-v10.00";
76   }
77   revision "2021-12-01" {
78     description
79       "version 8.0.0
80
81       1) typographical corrections in descriptions.
82       2) add support for multi-cell in cascade mode.
83       3) add SCS info and mapping with eaxc-id into Combine-entity.
84       4) add enhanced-t-combine feature Add T_combine-net (capability)
85       5) add Tx-duration, enhanced-t-combine-enabled";
86
87     reference "ORAN-WG4.M.0-v08.00";
88   }
89
90   revision "2020-12-10" {
91     description
92       "version 5.0.0
93
94       1) added selective combining using beamId.";
95
96     reference "ORAN-WG4.M.0-v05.00";
97   }
98
99   revision "2020-04-17" {
100     description
101       "version 3.0.0
102
103       1) initial version for shared cell O-RU related yang module.";
104
105     reference "ORAN-WG4.M.0-v03.00";
106   }
107
108   feature FHM {
109     description
110       "Presence of feature indicates that O-RU acts as FHM and doesn't have
111        the capability of radio transmission and reception. Absence of feature
112        indicates that O-RU does not act as FHM and supports radio transmission
113        and reception function.";
114   }
115
116   feature SELECTIVE-BEAM-ID {
117     description
118       "Presence of feature indicates that FHM supports the selective combining
119       function by using beamId";
120   }
121
122   // radio offsets
123   grouping radio-offset {
124     description
125       "shared cell FHM mode needs the configuration for radio related offset";
126     leaf downlink-radio-frame-offset {
127       type uint32 {
128         range 0..12288000;
129       }
130       mandatory true;
131
132       description
133         "This parameter is used for offsetting the starting position of
134          10ms radio frame.
135          Note: Unit is 1/1.2288e9 sec.";
136     }
137
138     leaf downlink-sfn-offset {
139       type int16 {
140         range -32768..32767;
141       }
142       mandatory true;
143
144       description
145         "This parameter is used for offsetting SFN value.
146         Unit is 10ms.";
147     }
148   }
149
150   // shared cell capability
151   grouping shared-cell-module-capability{
152     description
153       "shared cell related module capability of O-RU";
154     container shared-cell-module-cap {
155       config false;
156       description
157       "indicates shared cell specific module capability";
158
159       leaf t-copy {
160         type uint32;
161         units nanoseconds;
162         mandatory true;
163         description
164           "Corresponding to the maximum FHM or cascade O-RU processing delay
165            between receiving an IQ sample over the fronthaul interface from
166            the north-node, coping it and transmitting it over the fronthaul
167            interface to the south-node.";
168       }
169
170       leaf t-combine {
171         type uint32;
172         units nanoseconds;
173         mandatory true;
174         description
175           "Corresponding to the maximum FHM or cascade O-RU processing delay
176            between receiving an IQ sample over the fronthaul interface from
177            the south-node(s), combing them and transmitting it over the
178            fronthaul interface to the north-node.
179
180            When enhanced-t-combine-enabled is 'true' by O-DU, FHM/Cascade O-RU supporting
181            ENHANCED-T-COMBINE uses t-combine-net and tx-duration instead of this value.";
182       }
183
184       leaf t-combine-net {
185         type uint32;
186         units nanoseconds;
187         description
188           "Corresponding to the maximum FHM or cascade O-RU processing delay
189            between starting time to combine IQ data from received message(s)
190            and starting time to transmit them with a message over the fronthaul
191            interface to O-DU or the north-node.";
192          }
193
194       leaf ta3-prime-max-upper-range {
195         type uint32;
196         units nanoseconds;
197         mandatory true;
198         description
199           "The upper limit for the configurable ta3-prime-max value.
200            This is the capability information of O-RU that comes from
201            the O-RU internal memory for the combine operation.";
202       }
203
204       leaf max-number-node-copy-and-combine {
205         type uint8{
206           range "1..max";
207         }
208         mandatory true;
209         description
210           "Indicates the maximum number of south-node for the copy-and-combine
211            functions of cascade O-RU or FHM.
212            For cascade mode, this value is one. It means
213            O-RU copies the stream of eCPRI messages only once for the connected
214            south-node and copied stream are forwarded to the south-node.
215            Similarly, the cascade O-RU combines once for the streams of
216            eCPRI messages received from the south node and the streams of radio
217            reception function.
218            For FHM mode, FHM is able to copy the stream of eCPRI messages
219            according to this parameter and forward each copied stream
220            to each south-node. FHM is able to combine the streams of eCPRI
221            messages received from the multiple south-nodes corresponding to
222            this parameter at most.";
223       }
224
225       leaf max-number-eaxcid-copy {
226         type uint8{
227           range "1..max";
228         }
229         mandatory true;
230         description
231           "Indicates the maximum number of eaxc-ids for the copy functions
232            of cascade O-RU or FHM.
233            For Cascade O-RU, it is same number of static-low-level-tx-endpoints plus
234            static-low-level-rx-endpoints, for which low-level-tx(rx)-endpoints
235            are configured with eaxc-id in u-plane configuration.
236            For FHM, it is max configurable number of eaxc-ids in
237            tx-eaxc-id and rx-eaxc-id in shared-cell-copy-uplane-config.";
238       }
239
240       leaf max-number-eaxcid-combine {
241         type uint8{
242           range "1..max";
243         }
244         mandatory true;
245         description
246           "Indicates the maximum number of eaxc-ids for the combine functions
247            of cascade O-RU or FHM.
248            For Cascade O-RU, it is same number of static-low-level-rx-endpoints,
249            for which low-level-rx-endpoints are configured with eaxc-id in
250            u-plane configuration.
251            For FHM, it is max configurable number of eaxc-ids in rx-eaxc-id
252            in shared-cell-combine-uplane-config across all combine-enities.
253
254            When multiple scs or multiple c-plane section types with a single eaxc-id
255            are used for FHM supporting MULTIPLE-SCS-IN-EAXC, all eaxc-id instances
256            across scs, C-Plane section types and combine entities are counted even
257            though they are same eaxc-id. The counted number shall not excced this value.";
258       }
259
260       container eaxc-id-group-capabilities {
261         if-feature FHM;
262         description
263           "Presence of this container indicates that FHM can refer to C-Plane in UL direction
264           to support combining U-Plane messages commanded by C-Plane with Section Extension 10.";
265         leaf max-num-rx-eaxc-id-groups {
266           type uint8;
267           description
268             "Maximum number of configurable rx-eaxc-id-group supported by FHM.";
269         }
270
271         leaf max-num-rx-eaxc-ids-per-group {
272           type uint8;
273           description
274             "Maximum number of member-rx-eaxc-id in single rx-eaxc-id-group supported by FHM.";
275         }
276       }
277
278       list compression-method-supported {
279         if-feature FHM;
280         description
281           "List of supported compression methods for FHM";
282         uses cf:compression-details;
283       }
284
285       leaf multi-cell-in-cascade-mode-supported {
286         type boolean;
287         description
288           "This parameter indicates whether O-RU supports multi cell
289            operation in shared cell cascade mode.
290            If multi-cell-in-cascade-mode-supported = false then each shared cell
291            O-RU in a physical cascaded chain can only be used for operating
292            carriers that correspond to a single cell.
293            If multi-cell-in-cascade-mode-supported = true, it means that the O-RU
294            may be configured such that the shared-cell carriers can be used to
295            support mutiple different cells, where each cell is served by its own
296            separate cascade chain. See CUS-Plane Specification for more details.";
297       }
298     }
299   }
300
301   // shared cell mode configuration
302   grouping shared-cell-mode{
303     description
304       "A grouping defining the schema nodes for shared cell configuration";
305     choice shared-cell-copy-combine-mode {
306       case COMMON {
307         description
308          "all eCPRI payload are the target for copy and combine functions.
309           Common set of eaxc-ids are used in O-RU in the shared cell network.
310           For cascade mode, eaxc-ids of low-level-tx(rx)-links in
311           o-ran-uplane-configuration that has relation to the
312           processing-element are used.
313           For FHM mode, eaxc-ids of shared-cell-copy-uplane-config and
314           those of shared-cell-combine-config are used.";
315
316           uses shared-cell-copy-configuration;
317           uses shared-cell-combine-configuration;
318       }
319       case SELECTIVE-BEAM-ID {
320         if-feature "FHM and SELECTIVE-BEAM-ID";
321         description
322         "Case that FHM has selective transmission and reception function
323          by using beamId";
324
325          uses shared-cell-copy-configuration-for-selective-beam-id;
326          uses shared-cell-combine-configuration-for-selective-beam-id;
327       }
328       case SELECTIVE {
329         description "for future use";
330       }
331       description
332        "configuration mode can be selected.";
333     }
334   }
335
336   // processing elements set
337   grouping processing-element-set{
338     description
339       "shared-cell-copy/combine-configuration refers the pair of processing
340       element set of a north-node and a south-node.";
341
342     leaf north-node-processing-element{
343       type leafref {
344         path "/o-ran-pe:processing-elements/o-ran-pe:ru-elements/o-ran-pe:name";
345         }
346       description
347         "north-node processing element indicates the set of
348          'north-node-mac-address', 'ru-mac-address' and 'vlan-id' in case
349          north-eth-flow is selected for the transport flow.";
350     }
351
352     leaf-list south-node-processing-elements{
353       type leafref {
354         path "/o-ran-pe:processing-elements/o-ran-pe:ru-elements/o-ran-pe:name";
355       }
356       description
357         "south-node processing elements indicate the sets of
358          'south-node-mac-address', 'ru-mac-address' and 'vlan-id' in case
359           south-eth-flow is selected for the transport flow.";
360     }
361   } // processing-element-set
362
363   // processing elements set for SELECTIVE-BEAM-ID
364   grouping processing-element-set-for-selective-beam-id{
365     description
366       "shared-cell-copy/combine-configuration refers the pair of processing
367       element set of a north-node and a south-node.";
368
369     leaf north-node-processing-element{
370       type leafref {
371         path "/o-ran-pe:processing-elements/o-ran-pe:ru-elements/o-ran-pe:name";
372         }
373       description
374         "north-node processing element indicates the set of
375          'north-node-mac-address', 'ru-mac-address' and 'vlan-id' in case
376          north-eth-flow is selected for the transport flow.";
377     }
378
379     leaf-list south-node-processing-elements{
380       type leafref {
381         path "/o-ran-pe:processing-elements/o-ran-pe:ru-elements/o-ran-pe:name";
382       }
383       description
384         "south-node processing elements indicate the sets of
385          'south-node-mac-address', 'ru-mac-address' and 'vlan-id' in case
386           south-eth-flow is selected for the transport flow.";
387     }
388
389     list mapping-table-for-selective-beam-id {
390       key "global-beam-id south-node-processing-elements";
391       description "the mapping information between global-beam-id and local-beam-id";
392
393       leaf global-beam-id{
394       type uint16;
395       description
396       "This parameter indicates the beam ID to be applied to the U-Plane data
397       on O-DU as same as existing beamId. One global beamId can be mapped
398       to one or multiple local beamId.
399       The mapping information between each global beamId, O-RU(s),
400       and local beamId is configured to the FHM during M-Plane start-up procedure.";
401     }
402     leaf south-node-processing-elements {
403       type leafref {
404         path "/o-ran-pe:processing-elements/o-ran-pe:ru-elements/o-ran-pe:name";
405       }
406       description
407         "south-node processing elements indicate the sets of
408          'south-node-mac-address', 'ru-mac-address' and 'vlan-id' in case
409           south-eth-flow is selected for the transport flow.";
410     }
411     leaf local-beam-id {
412       type uint16;
413       description "This parameter indicates the beam ID to be applied to
414       the U-Plane data on O-RU as same as existing beamId.
415       In one O-RU, different beams can not map to one global beamId.
416       Local beamId shall be unique within O-RU.";
417     }
418   }
419   } // processing-element-set for SELECTIVE-BEAM-ID
420
421   // shared cell copy and combine config
422   grouping shared-cell-copy-configuration{
423     description
424       "shared-cell-copy-configuration";
425     list shared-cell-copy-entities{
426       key name;
427       description
428         "copy entity. The north-node is an O-DU or an O-RU.
429          The south-nodes are O-RUs.
430          The number of south-nodes is at most one for cascade O-RU and
431          more than one for FHM";
432
433       leaf name{
434         type string;
435         description
436          "the name of shared-cell-copy-entity.";
437       }
438
439       leaf odu-id {
440         if-feature feat:SHARED-ORU-MULTI-ODU;
441         type string;
442         description
443           "An optional o-du identity associated with this list entry.
444           When present, indicates that the list entry is associated with
445           a particular odu-id.";
446       }
447
448       leaf sro-id {
449         if-feature feat:SHARED-ORU-MULTI-OPERATOR;
450         type leafref {
451           path "/or-user:users/or-user:user/or-user:sro-id";
452         }
453         description
454           "An optional shared resource identity associated with this list entry.
455           When present, indicates that the list entry corresponds to a shared cell copy entity
456           associated with a shared resouce operator where the sro-id
457           identifies the specific shared resouce operator.
458
459           This schema-node is used to refince NACM privileges for shared
460           resource operators";
461       }
462
463       uses processing-element-set;
464
465       container shared-cell-copy-uplane-config {
466         if-feature FHM;
467         description
468           "Container consists of uplane-info for copy-configuration for FHM.";
469
470         list tx-eaxc-id {
471           key eaxc-id;
472           description
473             "used for low-level-tx-endpoints to copy";
474
475           leaf eaxc-id {
476             type uint16;
477             description
478               "encoded value of eaxcid to be read by CU-Plane";
479           }
480       }
481         list rx-eaxc-id {
482           key eaxc-id;
483           description
484             "used for low-level-rx-endpoints to copy";
485
486           leaf eaxc-id {
487             type uint16;
488             description
489               "encoded value of eaxcid to be read by CU-Plane";
490           }
491         }
492         uses radio-offset;
493       }
494
495     } // shared-cell-copy-entities
496   } // shared-cell-copy-configuration (groupings)
497
498   grouping shared-cell-copy-configuration-for-selective-beam-id{
499     description
500       "shared-cell-copy-configuration for selective function by beam id";
501     list shared-cell-copy-entities-selective-beam-id{
502       key name;
503       description
504         "copy entity. The north-node is an O-DU or an O-RU.
505          The south-nodes are O-RUs.
506          The number of south-nodes is at most one for cascade O-RU and
507          more than one for FHM";
508
509       leaf name{
510         type string;
511         description
512          "the name of shared-cell-copy-entity.";
513       }
514
515       leaf odu-id {
516         if-feature feat:SHARED-ORU-MULTI-ODU;
517         type string;
518         description
519           "An optional o-du identity associated with this list entry.
520           When present, indicates that the list entry is associated with
521           a particular odu-id.";
522       }
523
524       leaf sro-id {
525         if-feature feat:SHARED-ORU-MULTI-OPERATOR;
526         type leafref {
527           path "/or-user:users/or-user:user/or-user:sro-id";
528         }
529         description
530           "An optional shared resource identity associated with this list entry.
531           When present, indicates that the list entry corresponds to a shared cell copy entity
532           with selective bean id associated with a shared resouce operator where the sro-id
533           identifies the specific shared resouce operator.
534
535           This schema-node is used to refince NACM privileges for shared
536           resource operators";
537       }
538
539       uses processing-element-set-for-selective-beam-id;
540
541       container shared-cell-copy-uplane-config {
542         if-feature FHM;
543         description
544           "Container consists of uplane-info for copy-configuration for FHM.";
545
546         list tx-eaxc-id {
547           key eaxc-id;
548           description
549             "used for low-level-tx-endpoints to copy";
550
551           leaf eaxc-id {
552             type uint16;
553             description
554               "encoded value of eaxcid to be read by CU-Plane";
555           }
556       }
557         list rx-eaxc-id {
558           key eaxc-id;
559           description
560             "used for low-level-rx-endpoints to copy";
561
562           leaf eaxc-id {
563             type uint16;
564             description
565               "encoded value of eaxcid to be read by CU-Plane";
566           }
567         }
568         uses radio-offset;
569       }
570
571     } // shared-cell-copy-entities for SELECTIVE-BEAM-ID
572   } // shared-cell-copy-configuration (groupings) for SELECTIVE-BEAM-ID
573
574   grouping shared-cell-combine-configuration{
575     description
576       "shared-cell-combine-configuration";
577
578     list shared-cell-combine-entities{
579       key name;
580       description
581         "combine configuration. The north-node is O-DU or O-RU.
582          The south-nodes are O-RUs.
583          The number of south-nodes is at most one for cascade O-RU and
584          more than one for FHM";
585
586       leaf name{
587         type string;
588         description
589          "name of shared-cell-combine-entity";
590       }
591
592       leaf odu-id {
593         if-feature feat:SHARED-ORU-MULTI-ODU;
594         type string;
595         description
596           "An optional o-du identity associated with this list entry.
597           When present, indicates that the list entry is associated with
598           a particular odu-id.";
599       }
600
601       leaf sro-id {
602         if-feature feat:SHARED-ORU-MULTI-OPERATOR;
603         type leafref {
604           path "/or-user:users/or-user:user/or-user:sro-id";
605         }
606         description
607           "An optional shared resource identity associated with this list entry.
608           When present, indicates that the list entry corresponds to a shared cell combine entity
609           associated with a shared resouce operator where the sro-id
610           identifies the specific shared resouce operator.
611
612           This schema-node is used to refince NACM privileges for shared
613           resource operators";
614       }
615
616
617       uses processing-element-set;
618
619       leaf scs {
620             type o-ran-cmn:scs-config-type;
621             description
622             "sub-carrier spacing of U-Plane messages belong to combine-entity";
623         }
624
625       leaf ta3-prime-max {
626         type uint32;
627         units nanoseconds;
628         description
629           "indicates the latest time that FHM or cascade O-RU is allowed to
630            send UL U-plane message to north-node relative to reception
631            timing at O-RU antenna.";
632       }
633
634       leaf tx-duration {
635         type uint32;
636         units nanoseconds;
637         description
638           "informs FHM/Cascade O-RU of the maximum duration time of transmission
639           over the fronthaul interface to O-DU or north-node for messages
640           to be sent within Ta3-prime-max.";
641       }
642
643       uses shared-cell-combine-uplane-config;
644     }
645   }
646
647   grouping shared-cell-combine-configuration-for-selective-beam-id{
648     description
649       "shared-cell-combine-configuration for selective function by beam id";
650
651     list shared-cell-combine-entities-for-selective-beam-id{
652       key name;
653       description
654         "combine configuration. The north-node is O-DU or O-RU.
655          The south-nodes are O-RUs.
656          The number of south-nodes is at most one for cascade O-RU and
657          more than one for FHM";
658
659       leaf name{
660         type string;
661         description
662          "name of shared-cell-combine-entity";
663       }
664
665       leaf odu-id {
666         if-feature feat:SHARED-ORU-MULTI-ODU;
667         type string;
668         description
669           "An optional o-du identity associated with this list entry.
670           When present, indicates that the list entry is associated with
671           a particular odu-id.";
672       }
673
674       leaf sro-id {
675         if-feature feat:SHARED-ORU-MULTI-OPERATOR;
676         type leafref {
677           path "/or-user:users/or-user:user/or-user:sro-id";
678         }
679         description
680           "An optional shared resource identity associated with this list entry.
681           When present, indicates that the list entry corresponds to a shared cell combine entity
682           for selective beam id associated with a shared resouce operator where the sro-id
683           identifies the specific shared resouce operator.
684
685           This schema-node is used to refince NACM privileges for shared
686           resource operators";
687       }
688
689       uses processing-element-set;
690
691       leaf scs {
692             type o-ran-cmn:scs-config-type;
693             description
694             "sub-carrier spacing of U-Plane messages belong to combine-entity";
695         }
696
697       leaf ta3-prime-max {
698         type uint32;
699         units nanoseconds;
700         description
701           "indicates the latest time that FHM or cascade O-RU is allowed to
702            send UL U-plane message to north-node relative to reception
703            timing at O-RU antenna.";
704       }
705
706       leaf tx-duration {
707         type uint32;
708         units nanoseconds;
709         description
710           "informs FHM/Cascade O-RU of the maximum duration time of transmission
711           over the fronthaul interface to O-DU or north-node for messages
712           to be sent within Ta3-prime-max.";
713       }
714
715       uses shared-cell-combine-uplane-config;
716     }
717   }
718
719
720   grouping shared-cell-combine-uplane-config{
721     description
722       "shared cell related uplane configuration applicable to O-RU which
723        doesn't have radio transmission capability";
724     container shared-cell-combine-uplane-config {
725       if-feature FHM;
726       description
727         "when O-RU doesn't have radio transmission availability for FHM mode,
728          the required u-plane configuration for copy and combine function
729          are defined, instead of the lists of o-ran-uplane-conf.yang";
730
731       list rx-eaxc-id {
732         key eaxc-id;
733         description
734           "used for low-level-rx-endpoints to combine";
735         leaf eaxc-id {
736           type uint16;
737           description
738             "encoded value of eaxc-id to be read by CU-Plane";
739         }
740
741       leaf  number-of-prb {
742         type uint16;
743         description
744           "Determines max number of PRBs that can be scheduled in all sections
745           per one symbol.
746           This value is used when uplink C-plane message indicates that all PRBs
747           is indicated in the field of numPrbc or tx-duration is calculated.";
748       }
749
750       leaf-list cp-ul-section-type {
751          type enumeration {
752             enum ST1 {
753               description
754                 "section type 1 is used.";
755             }
756             enum ST3P{
757              description
758                 "section type 3 is used for PRACH .";
759             }
760             enum ST3M{
761              description
762                 "section type 3 is used for PUxCH when mixed numeroloy is applied.";
763             }
764           }
765         description
766             "indicates what section type is used for a specific eaxc-id with a specfic
767             SCS/frameStructure which belongs to this combine-entity.";
768        }
769
770         container comression-method {
771           description
772             "for combine mechanism, compression method per eaxc-id applied in
773              south-node is known to FHM ";
774           uses cf:compression-details;
775         }
776       }
777
778       uses radio-offset;
779
780       leaf n-ta-offset {
781         type uint32;
782         units Tc;
783         mandatory true;
784         description
785           "Value of configurable N-TA offset
786           units are Tc=~0.5ns=1/1.96608GHz";
787       }
788
789       leaf  number-of-prb {
790         type uint16;
791         mandatory true;
792         status deprecated;
793         description
794           "Determines max number of PRBs that will be used in all sections
795           per one symbol.
796           This value is used only when uplink C-plane message indicates that
797           all PRB is used in the field of numPrbc
798
799           This node is deprecated and replaced by number-of-prb in the list of rx-eaxc-id.
800           This movement is intended to prevent the fragmentation of shared-cell-combine-entities
801           according to the different value of number-of-prb.";
802       }
803     }
804   }
805
806 // top-level container
807   container shared-cell{
808     description
809       "This container for shared-cell consists of capability information and
810        configurable parameters";
811     uses shared-cell-module-capability;
812
813     container shared-cell-config {
814       description "configuration for shared cell.";
815       uses shared-cell-mode;
816
817       leaf max-num-rx-eaxc-ids-per-group {
818         if-feature FHM;
819         type leafref {
820           path "/o-ran-sc:shared-cell/o-ran-sc:shared-cell-module-cap/o-ran-sc:eaxc-id-group-capabilities/o-ran-sc:max-num-rx-eaxc-ids-per-group";
821           require-instance false;
822         }
823         description "RW value of max-num-rx-eaxc-ids-per-group";
824       }
825       leaf max-num-rx-eaxc-id-groups {
826         if-feature FHM;
827         type leafref {
828           path "/o-ran-sc:shared-cell/o-ran-sc:shared-cell-module-cap/o-ran-sc:eaxc-id-group-capabilities/o-ran-sc:max-num-rx-eaxc-id-groups";
829           require-instance false;
830         }
831         description "RW value of max-num-rx-eaxc-id-groups";
832       }
833
834       list rx-eaxc-id-group {
835         if-feature FHM;
836         must "count(../rx-eaxc-id-group) <= ../max-num-rx-eaxc-id-groups" {
837           error-message "too many rx-eaxcid-id groups";
838         }
839         key "representative-rx-eaxc-id";
840         description
841           "This is a list of the groups of the eAxC IDs.
842           Each group is a union of a 'representative-rx-eaxc-id'and 'member-rx-eaxc-id's.
843           When section type 3 C-Plane in UL direction is used with Section Extension 10 in the shared cell,
844           this group shall be informed to FHM.";
845         leaf representative-rx-eaxc-id {
846           type uint16;
847           description
848             "This parameter contains eAxC_ID that populates content of C-Plane section
849             extension 10 to eAxC_IDs configured in the group as 'member-rx-eaxc-id'(s).";
850         }
851         leaf-list member-rx-eaxc-id {
852           type uint16;
853           must "count(../member-rx-eaxc-id) <= ../../max-num-rx-eaxc-ids-per-group" {
854             error-message "too many rx-eaxcid-id members";
855           }
856           must "current()!=../representative-rx-eaxc-id" {
857             error-message "the representative eaxcid does not need to be a list member";
858           }
859           description
860             "This is a list of member eAxC IDs,which is associated with 'representative-rx-eaxc-id' in a group.";
861         }
862       }
863
864       leaf enhanced-t-combine-enabled {
865         if-feature feat:ENHANCED-T-COMBINE;
866         type boolean;
867         default false;
868            description
869              "O-DU informs FHM/Cascade O-RU that t-combine-net and tx-duration
870              are used to calculate T-waiting instead of t-combine.";
871       }
872
873       leaf multiple-scs-in-eaxc-used {
874         if-feature feat:MULTIPLE-SCS-IN-EAXC;
875         type boolean;
876         default false;
877         description
878           "O-DU informs FHM/Cascade O-RU that multiple scs or
879           multiple section types in a single eAxC id are used.";
880       }
881     }
882   }
883 }