Update namespaces according to RFC8515
[scp/oam/modeling.git] / data-model / yang / working / o-ran-sc / o-ran-cu-cp / o-ran-sc-cu-cp-v1.yang
index 27d9833..e8d30d5 100644 (file)
@@ -1,6 +1,6 @@
 module o-ran-sc-cu-cp-v1 {
   yang-version 1.1;
-  namespace "urn:o-ran:sc:centalized-unit:control-plane:1.0";
+  namespace "urn:o-ran-sc:yang:o-ran-sc-cu-cp-v1";
   prefix ocucp;
 
   import o-ran-sc-root-v1 {
@@ -18,7 +18,7 @@ module o-ran-sc-cu-cp-v1 {
     "This module contains the O-RAN Software Community CentralizedUnit
      Control Plane specific O1 interface APIs.
 
-     Copyright 2020 the O-RAN Alliance.
+     Copyright 2021 the O-RAN Software Community.
 
      Licensed under the Apache License, Version 2.0 (the 'License');
      you may not use this file except in compliance with the License.
@@ -32,6 +32,13 @@ module o-ran-sc-cu-cp-v1 {
      See the License for the specific language governing permissions and
      limitations under the License.";
 
+  revision 2021-03-09 {
+    description
+      "The namespace was updated according to O-RAN-SC yang guidelines.
+       The namespace must end with the full module name.";
+    reference
+      "https://jira.o-ran-sc.org/browse/OAM-168";
+  }
   revision 2020-02-20 {
     description
       "initial revision";
@@ -55,6 +62,7 @@ module o-ran-sc-cu-cp-v1 {
   }
 
   // Inherit from controlled-function
+
   augment "/root:controlled-element/root:controlled-function" {
     when "derived-from-or-self(./root:function-type, 'ocucp:o-cu-cp')";
     uses o-cu-cp-specific-grp;