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 b6850bcd854fb23aeb64b2cc46f7d37a838c7e10..327681071e9c72e193c89093448afde66e1a88e4 100644 (file)
@@ -54,6 +54,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";
@@ -160,6 +164,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;