Remove transportpce-routing-constraint model
[transportpce.git] / api / src / main / yang / service_path / transportpce-pce@2022-01-18.yang
index 327681071e9c72e193c89093448afde66e1a88e4..9a6bdb5d873e7854b35df79f5e4b8294b9f61415 100644 (file)
@@ -2,8 +2,8 @@ module transportpce-pce {
   namespace "http://org/opendaylight/transportpce/pce";
   prefix org-opendaylight-transportpce-pce;
 
-  import transportpce-routing-constraints {
-    prefix transportpce-routing-constraints;
+  import org-openroadm-routing-constraints {
+    prefix org-openroadm-routing-constraints;
   }
   import org-openroadm-common-service-types {
     prefix org-openroadm-common-service-types;
@@ -56,7 +56,8 @@ module transportpce-pce {
 
   revision 2022-01-18 {
     description
-      "Add in path-computation-request input the pce-routing-metric";
+      "Add in path-computation-request input the pce-routing-metric.
+       Replace transportpce-routing-constraints by org-openroadm-routing-constraints";
   }
   revision 2021-07-01 {
     description
@@ -174,7 +175,7 @@ module transportpce-pce {
       container service-z-end {
         uses transportpce-common-service-path-types:service-endpoint-sp;
       }
-      uses transportpce-routing-constraints:routing-constraints-sp;
+      uses org-openroadm-routing-constraints:routing-constraints;
       uses org-openroadm-common-service-types:routing-metric;
     }
     output {