1 module xran-operations {
3 namespace "urn:xran:operations:1.0";
6 organization "xRAN Forum";
12 "This module defines the YANG model used for RU operations.
14 Copyright 2018 the xRAN Forum.
16 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
17 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
20 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
21 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
22 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
23 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
24 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
25 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
26 POSSIBILITY OF SUCH DAMAGE.
28 Redistribution and use in source and binary forms, with or without
29 modification, are permitted provided that the following conditions are met:
31 * Redistributions of source code must retain the above copyright notice,
32 this list of conditions and the above disclaimer.
33 * Redistributions in binary form must reproduce the above copyright notice,
34 this list of conditions and the above disclaimer in the documentation
35 and/or other materials provided with the distribution.
36 * Neither the Members of the xRAN Forum nor the names of its
37 contributors may be used to endorse or promote products derived from
38 this software without specific prior written permission.";
40 revision "2018-07-20" {
42 "version 1.0.0 - First release of the xRAN YANG M-Plane models.
44 This version of the model supports v01.00 of the corrsponding xRAN
45 M-Plane Specification.";
46 reference "XRAN-FH.MP.0-v01.00";
49 typedef xran-version {
51 pattern '[0-9]+(\.[0-9]+)';
54 "this type definition is used to represent the version of the xRAN
55 fronthaul interface.";
58 container operational-info{
61 "a collection of operational infor for the RU";
63 container xran-split {
65 "details about the xran split ";
66 leaf interface-version {
69 description "current version of the xRAN split sdupported by the RU";
71 leaf optional-header-support {
75 "Indicates that an RU only supports eCPRI C/U plane headers";
79 "Indicates that an RU supports the optional 1914.3 header format
85 "Placeholder to enable future management plane aspects of 1914.3
86 headers to be included.";
88 leaf ecpri-concatenation-support {
92 "This leaf is used to indicate whether the RU supports the optional
93 eCPRI concatenation capability";
97 container operational-state {
99 "Operational state for the Radio Unit";
104 "RU restarted because it was powered on";
106 enum SUPERVISION-WATCHDOG {
108 "RU restarted because it's supervision wathcdog timer wasn't reset
109 by a NETCONF client (inferring loss of NETCONF connectivity)";
111 enum MPLANE-TRIGGERED-RESTART {
113 "RU restarted because of an M-plane issued rpc";
115 enum SOFTWARE-FAILURE {
117 "RU restarted because of software failure";
119 enum OTHER-WATCHDOG-TIMER {
121 "RU restarted because of some other non NETCONF watchdog timer";
125 "The restart reason for the RU is unknown";
128 description "the cause for the last restart of the RU";
132 leaf re-call-home-no-ssh-timer {
137 "The timer used by the xRAN Radio Unit to repeatedley call home to
138 identified call home servers if it has not already an established SSH
139 connection to the identified server.";
144 // TODO add nacm statement, e.g., nacm:default-deny-all;
146 "Management plane triggered restart of the radio unit.
147 A server SHOULD send an rpc reply to the client before
148 restarting the system.";