Add pce-constraint-mode enum in pce yang model
[transportpce.git] / api / src / main / yang / service_path / transportpce-pce@2023-09-25.yang
similarity index 94%
rename from api/src/main/yang/service_path/transportpce-pce@2022-08-08.yang
rename to api/src/main/yang/service_path/transportpce-pce@2023-09-25.yang
index fce8723c5f38e0e4802d5ba0ea57f21239f5d80c..0fe9e897451624975285833fba24816c67a3e0fe 100644 (file)
@@ -54,11 +54,16 @@ module transportpce-pce {
       POSSIBILITY OF SUCH DAMAGE";
 
 
+  revision 2023-09-25 {
+      description
+        "Add pce-constraint-mode enum to be able to disinguish the way to manage node include constraints inside the
+         PCE module";
+    }
   revision 2022-08-08 {
-    description
-      "Implement the RPC path-computation-reroute-request (only for reroute purposes) that computes a service path of
-      an existing service in order to reroute it";
-  }
+      description
+        "Implement the RPC path-computation-reroute-request (only for reroute purposes) that computes a service path of
+        an existing service in order to reroute it";
+    }
   revision 2022-06-15 {
     description
       "change fraction digits from 2 to 6 for accumulative-value leaf, from 2 to 6 to be compliant with Gnpy";
@@ -89,6 +94,17 @@ module transportpce-pce {
       "Version 1.5";
   }
 
+  typedef pce-constraint-mode {
+    type enumeration {
+      enum loose {
+        value 1;
+      }
+      enum strict {
+        value 2;
+      }
+    }
+  }
+
   grouping stubpce-path-description {
     leaf path-name {
       type string;