diff --git a/src/common/tools/object_factory/Service.py b/src/common/tools/object_factory/Service.py index 5ba01274f016c52c396d510465e258e6553b6871..b4936abccfa66e3ceaf775b705279798fd914bf6 100644 --- a/src/common/tools/object_factory/Service.py +++ b/src/common/tools/object_factory/Service.py @@ -88,7 +88,7 @@ def json_service_iplink_planned( ): return json_service( - service_uuid, ServiceTypeEnum.SERVICETYPE_PON_ACCESS, context_id=json_context_id(context_uuid), + service_uuid, ServiceTypeEnum.SERVICETYPE_IPLINK, context_id=json_context_id(context_uuid), status=ServiceStatusEnum.SERVICESTATUS_PLANNED, endpoint_ids=endpoint_ids, constraints=constraints, config_rules=config_rules) diff --git a/src/common/type_checkers/Assertions.py b/src/common/type_checkers/Assertions.py index 403b120b708bf87756cc45871a76c683779c1a40..90d8e0cfd4c81612a9fd9d01ef63669faacaf5fe 100644 --- a/src/common/type_checkers/Assertions.py +++ b/src/common/type_checkers/Assertions.py @@ -109,7 +109,7 @@ def validate_service_type_enum(message): 'SERVICETYPE_E2E', 'SERVICETYPE_OPTICAL_CONNECTIVITY', 'SERVICETYPE_QKD', - 'SERVICETYPE_PON_ACCESSs', + 'SERVICETYPE_PON_ACCESS', ] def validate_service_state_enum(message):