Refactor transportpce-routing-constraint model
[transportpce.git] / api / src / main / yang / service_path / transportpce-pce@2022-01-18.yang
similarity index 97%
rename from api/src/main/yang/service_path/transportpce-pce@2021-07-01.yang
rename to api/src/main/yang/service_path/transportpce-pce@2022-01-18.yang
index 8eed822252fec7cbd8c6cb039462f2ef033a543f..8829406ea4dd828e49102c1f80f2031ec7fb9d89 100644 (file)
@@ -53,6 +53,10 @@ module transportpce-pce {
       ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
       POSSIBILITY OF SUCH DAMAGE";
 
+  revision 2022-01-18 {
+    description
+      "Add in path-computation-request input the pce-routing-metric";
+  }
   revision 2021-07-01 {
     description
       "Version 1.8";
@@ -159,6 +163,9 @@ module transportpce-pce {
           "indicates if resources (from local PCE topology) must be reserved
            until further notice (cancel-resource-reserve or topology update)";
       }
+      leaf pce-routing-metric {
+        type transportpce-common-service-path-types:pce-metric;
+      }
       uses transportpce-common-service-path-types:service-handler-header;
       container service-a-end {
         uses transportpce-common-service-path-types:service-endpoint-sp;