From 6d256eb1b9c69cbba95f32d54b0bae08cf2dd916 Mon Sep 17 00:00:00 2001 From: camposl Date: Thu, 22 May 2025 10:19:27 +0200 Subject: [PATCH] possible mistakes solved --- src/common/tools/object_factory/Service.py | 2 +- src/common/type_checkers/Assertions.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/tools/object_factory/Service.py b/src/common/tools/object_factory/Service.py index 5ba01274f..b4936abcc 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 403b120b7..90d8e0cfd 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): -- GitLab