3 namespace "urn:xran:dhcp:1.0";
6 import ietf-interfaces {
10 import ietf-inet-types {
14 import ietf-dhcpv6-types {
16 revision-date 2018-01-30;
19 organization "xRAN Alliance";
25 "This module defines the YANG definitions for managng the DHCP client on
28 Copyright 2018 Members of the xRAN alliance.
30 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
31 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
32 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
33 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
34 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
35 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
36 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
37 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
38 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
39 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
40 POSSIBILITY OF SUCH DAMAGE.
42 Redistribution and use in source and binary forms, with or without
43 modification, are permitted provided that the following conditions are met:
45 * Redistributions of source code must retain the above copyright notice,
46 this list of conditions and the above disclaimer.
47 * Redistributions in binary form must reproduce the above copyright notice,
48 this list of conditions and the above disclaimer in the documentation
49 and/or other materials provided with the distribution.
50 * Neither the Members of the xRAN Forum nor the names of its
51 contributors may be used to endorse or promote products derived from
52 this software without specific prior written permission.";
54 revision "2018-07-20" {
56 "version 1.0.0 - First release of the xRAN YANG M-Plane models.
58 This version of the model supports v01.00 of the corrsponding xRAN
59 M-Plane Specification.";
60 reference "XRAN-FH.MP.0-v01.00";
63 typedef netconf-client-id {
68 description "A NETCONF client identifier";
71 grouping netconf-clients {
72 description "the netconf clients discovered using DHCP";
75 description "A list of IP addresses or URIs for NETCONF clients";
77 type netconf-client-id;
78 description "the client identifier";
81 type inet:port-number;
82 description "an optional (non-default) port";
87 grouping dhcpv4-option {
88 description "DHCPv4 Configuration options";
90 leaf dhcp-server-identifier {
92 description "DHCP server identifier";
96 description "Name of the domain";
98 leaf-list domain-name-servers {
100 description "A list of DNS servers";
106 description "Minimum Transmission Unit (MTU) of the interface";
108 leaf-list default-gateways{
109 type inet:ip-address;
110 description "the list of default gateways on the RUs subnet";
112 leaf vendor-specific-option {
114 description "The vendor specific option #43";
116 uses netconf-clients;
119 grouping dhcpv6-option {
120 description "DHCPv6 Configuration options";
122 container dhcp-server-identifier{
123 description "dhcpv6 server identifief";
124 uses dhcpv6-type:duid;
128 description "Name of the domain";
130 leaf-list domain-name-servers {
131 type inet:ip-address;
132 description "A list of DNS servers";
134 uses netconf-clients;
140 "DHCP client configuration";
144 description "Interface configuration";
147 type if:interface-ref;
148 description "Name of the interface";
152 description "DHCPv4 information";
155 description "DHCP client identifier";
160 description "DHCPv6 information";
161 container dhcp-client-identifier{
162 description "dhcpv6 client identifief";
163 uses dhcpv6-type:duid;
169 container m-plane-dhcp {
170 description "leafs covering off DHCP aspects of m-plane operations";
171 leaf private-enterprise-number {
173 description "the private eneteprrise number allocated to xRAN";
175 leaf vendor-class-data {
178 "The string used in DHCPv4 option 60 or DHCPv4 option 124 and