X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=sim%2Fo1-interface.git;a=blobdiff_plain;f=ntsimulator%2Fdeploy%2Fo-ran-ru-fh%2Fyang%2Fo-ran-certificates.yang;fp=ntsimulator%2Fdeploy%2Fo-ran-ru-fh%2Fyang%2Fo-ran-wg4-features%402020-12-10.yang;h=038257c23b767af8a884917a8b49a221629bf945;hp=5b183a3fd74c4409fb112869df343e27d795b8e1;hb=f57d4764e3f681d216088f07088366a58f9adba3;hpb=7ff0c8ce9187702caa356c0c1f30064c65c1f512 diff --git a/ntsimulator/deploy/o-ran-ru-fh/yang/o-ran-wg4-features@2020-12-10.yang b/ntsimulator/deploy/o-ran-ru-fh/yang/o-ran-certificates.yang similarity index 55% rename from ntsimulator/deploy/o-ran-ru-fh/yang/o-ran-wg4-features@2020-12-10.yang rename to ntsimulator/deploy/o-ran-ru-fh/yang/o-ran-certificates.yang index 5b183a3..038257c 100644 --- a/ntsimulator/deploy/o-ran-ru-fh/yang/o-ran-wg4-features@2020-12-10.yang +++ b/ntsimulator/deploy/o-ran-ru-fh/yang/o-ran-certificates.yang @@ -1,8 +1,13 @@ -module o-ran-wg4-features { +module o-ran-certificates { yang-version 1.1; - namespace "urn:o-ran:wg4feat:1.0"; - prefix "o-ran-feat"; + namespace "urn:o-ran:certificates:1.0"; + prefix "o-ran-cert"; + import ietf-x509-cert-to-name { + prefix x509c2n; + reference + "RFC 7407: A YANG Data Model for SNMP Configuration"; + } organization "O-RAN Alliance"; @@ -10,10 +15,9 @@ module o-ran-wg4-features { "www.o-ran.org"; description - "This module defines the a set of re-usable type definitions for WG4 specific - features. + "This module defines the certificates model for the O-RAN Equipment authorization. - Copyright 2020 the O-RAN Alliance. + Copyright 2022 the O-RAN Alliance. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE @@ -39,19 +43,41 @@ module o-ran-wg4-features { contributors may be used to endorse or promote products derived from this software without specific prior written permission."; - revision "2020-12-10" { + revision "2022-08-15" { description - "version 5.0.0 + "version 10.0.0 - 1) initial version."; + 1) initial version"; - reference "ORAN-WG4.M.0-v05.00"; + reference "ORAN-WG4.M.0-v10.00"; } - feature NON-PERSISTENT-MPLANE { + grouping cert-maps { + uses x509c2n:cert-to-name; description - "Indicates that the Radio Unit supports the optional - capability to improve the operation with a SMO using a non- - persistent NETCONF session."; + "The cert-maps container is used by a TLS- + based NETCONF server to map the NETCONF + client's presented X.509 certificate to + a NETCONF username. If no matching and + valid cert-to-name list entry can be found, + then the NETCONF server MUST close the + connection, and MUST NOT accept NETCONF + messages over it. + Note - when included, the /cert-to-name/name refers to the schema node + users/user/name in o-ran-usermgmt.yang"; + reference + "RFC 7407: NETCONF over TLS, Section 7"; + } + + container certificate-parameters { + description + "Top Level Container for all certificate related parameters"; + + container cert-maps { + description + "Container for certificate maps"; + + uses cert-maps; + } } }