1 module o-ran-certificates {
3 namespace "urn:o-ran:certificates:1.0";
6 import ietf-x509-cert-to-name {
9 "RFC 7407: A YANG Data Model for SNMP Configuration";
12 organization "O-RAN Alliance";
18 "This module defines the certificates model for the O-RAN Equipment authorization.
20 Copyright 2022 the O-RAN Alliance.
22 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS'
23 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
24 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
25 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
26 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29 INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31 ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32 POSSIBILITY OF SUCH DAMAGE.
34 Redistribution and use in source and binary forms, with or without
35 modification, are permitted provided that the following conditions are met:
37 * Redistributions of source code must retain the above copyright notice,
38 this list of conditions and the above disclaimer.
39 * Redistributions in binary form must reproduce the above copyright notice,
40 this list of conditions and the above disclaimer in the documentation
41 and/or other materials provided with the distribution.
42 * Neither the Members of the O-RAN Alliance nor the names of its
43 contributors may be used to endorse or promote products derived from
44 this software without specific prior written permission.";
46 revision "2022-08-15" {
52 reference "ORAN-WG4.M.0-v10.00";
56 uses x509c2n:cert-to-name;
58 "The cert-maps container is used by a TLS-
59 based NETCONF server to map the NETCONF
60 client's presented X.509 certificate to
61 a NETCONF username. If no matching and
62 valid cert-to-name list entry can be found,
63 then the NETCONF server MUST close the
64 connection, and MUST NOT accept NETCONF
66 Note - when included, the /cert-to-name/name refers to the schema node
67 users/user/name in o-ran-usermgmt.yang";
69 "RFC 7407: NETCONF over TLS, Section 7";
72 container certificate-parameters {
74 "Top Level Container for all certificate related parameters";
78 "Container for certificate maps";