Upgrade openroadm service models to 10.1
[transportpce.git] / api / src / main / yang / service_path / transportpce-common-service-path-types@2022-01-18.yang
index 209896d2195346283765f13f6be3048db8c42387..6b6683c02f616f418f98e17224e5af13f683a578 100644 (file)
@@ -2,8 +2,8 @@ module transportpce-common-service-path-types {
   namespace "http://org/transportpce/B-C-interface/service/types";
   prefix transportpce-common-service-path-types;
 
-  import transportpce-routing-constraints {
-    prefix transportpce-routing-constraints;
+  import org-openroadm-routing-constraints {
+    prefix org-openroadm-routing-constraints;
   }
   import transportpce-pathDescription {
     prefix transportpce-pathDescription;
@@ -20,7 +20,6 @@ module transportpce-common-service-path-types {
   }
   import org-openroadm-service-format {
     prefix org-openroadm-service-format;
-    revision-date 2019-05-31;
   }
 
   organization
@@ -60,7 +59,8 @@ module transportpce-common-service-path-types {
 
   revision 2022-01-18 {
     description
-      "Add typedef pce-metric";
+      "Add typedef pce-metric.
+       Replace transportpce-routing-constraints by org-openroadm-routing-constraints.";
   }
 
   revision 2020-01-28 {
@@ -147,7 +147,7 @@ module transportpce-common-service-path-types {
 
   grouping response-parameters-sp {
     container response-parameters {
-      uses transportpce-routing-constraints:routing-constraints-sp;
+      uses org-openroadm-routing-constraints:routing-constraints;
       container path-description {
         uses transportpce-pathDescription:path-description;
       }
@@ -262,7 +262,7 @@ module transportpce-common-service-path-types {
     leaf pce-routing-metric {
       type pce-metric;
     }
-    uses transportpce-routing-constraints:routing-constraints-sp;
+    uses org-openroadm-routing-constraints:routing-constraints;
     leaf latency {
       type uint32;
       description