Allow multiple NTS Manager instances to run on the same machine.
[sim/o1-interface.git] / ntsimulator / yang / o-ran / ru-fh / o-ran-laa.yang
1 module o-ran-laa {
2   yang-version 1.1;
3   namespace "urn:o-ran:laa:1.0";
4   prefix "o-ran-laa";
5
6   import o-ran-module-cap {
7     prefix "mcap";
8   }
9
10   organization "O-RAN Alliance";
11
12   contact
13     "www.o-ran.org";
14
15   description
16     "This module defines the configuration for Carrier-selection and dynamic frequency selection (DFS).
17     Also this module defines operations for DFS measurement.
18
19     Copyright 2019 the O-RAN Alliance.
20
21     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
22     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23     IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24     ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
25     LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
26     CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
27     SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
28     INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
29     CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
30     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
31     POSSIBILITY OF SUCH DAMAGE.
32
33     Redistribution and use in source and binary forms, with or without
34     modification, are permitted provided that the following conditions are met:
35
36     * Redistributions of source code must retain the above copyright notice,
37     this list of conditions and the above disclaimer.
38     * Redistributions in binary form must reproduce the above copyright notice,
39     this list of conditions and the above disclaimer in the documentation
40     and/or other materials provided with the distribution.
41     * Neither the Members of the O-RAN Alliance nor the names of its
42     contributors may be used to endorse or promote products derived from
43     this software without specific prior written permission.";
44
45   revision "2019-02-04" {
46     description
47       "version 1.0.0
48
49       1) imported model from xRAN
50       2) changed namespace and reference from xran to o-ran";
51
52     reference "ORAN-WG4.M.0-v01.00";
53   }
54   
55   grouping laa-configuration {
56     description
57       "Grouping for LAA configuration";
58       
59     leaf number-of-laa-scarriers {
60       type uint8;
61       description "Number of LAA secondary carriers to be supported at O-RU.";
62     }
63
64     leaf multi-carrier-type {
65       type enumeration {
66         enum A1;
67         enum A2;
68         enum B1;
69         enum B2;
70       }
71       description
72         "This value indicates the list of multi carrier types which as per the document,
73         3GPP TS 36.213 V13.6.0 (2017-06) 15.1.5 Channel access procedure for transmission(s) on multiple carriers.";
74     }
75
76     leaf multi-carrier-tx {
77       type boolean;
78       description
79         "This value indicates whether self-deferral is activated or not.";
80     }
81
82     leaf multi-carrier-freeze {
83       when "../multi-carrier-type='A1'";
84       type boolean;
85       description "This value indicates if the absence of other technology in the unlicensed band can be guaranteed.";
86     }
87
88     leaf laa-ending-dwpts-supported {
89       type boolean;
90       description
91         "This value indicates whether LAA ending in DwPTS is supported.";
92     }
93
94     leaf laa-starting-in-second-slot-supported {
95       type boolean;
96       description
97         "This value indicates whether LAA starting in second slot is supported";
98     }
99   }
100
101   container laa-config {
102     must "number-of-laa-scarriers <= /mcap:module-capability/mcap:band-capabilities[mcap:band-number = '46']/mcap:sub-band-info/mcap:number-of-laa-scarriers" {
103       error-message "number of laa secondary carriers must be less than supported number of laa scells.";
104     }
105     presence "indicates LAA configuration";
106     description "Container to specify all LAA specific configuration";
107
108     uses laa-configuration;
109   }
110 }