Refactor transportpce-routing-constraint model
[transportpce.git] / tests / transportpce_tests / common / test_utils.py
index d9ecfc2116349a8f2b79711eb5d7ff2a434c065b..2a7dee015fe96bc3b147f47e3723507a10dec43d 100644 (file)
@@ -475,7 +475,7 @@ def path_computation_request(requestid: str, servicename: str, serviceaend, serv
             "service-handler-header": {"request-id": requestid},
             "service-a-end": serviceaend,
             "service-z-end": servicezend,
-            "pce-metric": metric}
+            "pce-routing-metric": metric}
     if hardconstraints:
         attr.update({"hard-constraints": hardconstraints})
     if softconstraints: