1 module xran-mplane-int {
3 namespace "urn:xran:mplane-interfaces:1.0";
4 prefix "xran-mplane-int";
6 import ietf-inet-types {
10 import ietf-interfaces {
14 import xran-interfaces {
18 organization "xRAN Forum";
24 "This module defines the YANG definitions for managng the xRAN Radio Unit
25 management plane interface.
27 Copyright 2018 the xRAN Forum.
29 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
30 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
31 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
32 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
33 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
34 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
35 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
36 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
37 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
38 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
39 POSSIBILITY OF SUCH DAMAGE.
41 Redistribution and use in source and binary forms, with or without
42 modification, are permitted provided that the following conditions are met:
44 * Redistributions of source code must retain the above copyright notice,
45 this list of conditions and the above disclaimer.
46 * Redistributions in binary form must reproduce the above copyright notice,
47 this list of conditions and the above disclaimer in the documentation
48 and/or other materials provided with the distribution.
49 * Neither the Members of the xRAN Forum nor the names of its
50 contributors may be used to endorse or promote products derived from
51 this software without specific prior written permission.";
53 revision "2018-07-20" {
55 "version 1.0.0 - First release of the xRAN YANG M-Plane models.
57 This version of the model supports v01.00 of the corrsponding xRAN
58 M-Plane Specification.";
59 reference "XRAN-FH.MP.0-v01.00";
67 "Type definition representing a single-tagged VLAN";
69 container mplane-info {
70 description "top level container for management plane information";
71 container searchable-mplane-access-vlans-info {
73 "These parameters shall be stored by the RU in reset persistant memory
74 to enable it to be re-used to optimize VALN discovery procerdures.";
75 leaf-list searchable-access-vlans {
78 "A list of access VLANs that may be operational on the transport
79 network. Can be used by the RU to optimize its VLAN searching - for
82 container vlan-range {
83 description "the range of VLAN IDs that may be configured for M-Plane";
87 "Value of this parameter informs RU about lowest VID to be used
88 in VLAN scan procedure";
90 leaf highest-vlan-id {
93 "Value of this parameter informs RU about highest VID to be used
94 in VLAN scan procedure";
99 container m-plane-interfaces {
100 description "information concerning m-plane interfaces";
101 list m-plane-sub-interfaces {
102 key "interface-name sub-interface";
103 description "list of m-plane information";
104 leaf interface-name {
106 path "/if:interfaces/if:interface/if:name";
108 description "the name of the interface";
112 path "/if:interfaces/if:interface[if:name = current()/../interface-name]/xran-int:vlan-id";
115 "vlans used to communicate with management plane servers.";
117 container client-info {
118 description "the NETCONF client information";
119 list mplane-ipv4-info {
121 description "list of IPv4 NETCONF clients";
123 type inet:ipv4-address;
124 description "The IPv4 address of M-Plane client discovered by the RU
125 or manually configured.";
128 type inet:port-number;
131 "The port number the call home server listens on.";
134 list mplane-ipv6-info {
136 description "list of IPv6 NETCONF clients";
138 type inet:ipv6-address;
139 description "The IPv6 address of M-Plane client discovered by the RU
140 or manually configured.";
143 type inet:port-number;
146 "The port number the call home server listens on.";
149 leaf-list mplane-fqdn {
150 type inet:domain-name;
151 description "The discovered FQDN(s) of M-Plane client(s).";
156 container m-plane-ssh-ports {
157 description "leafs for managing SSH ports";
158 leaf call-home-ssh-port {
159 type inet:port-number;
161 description "call home server port number";
163 leaf server-ssh-port {
164 type inet:port-number;
166 description "SSH server port number";