Loading manifests/deviceservice.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL value: "DEBUG" value: "INFO" startupProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:2020"] Loading manifests/serviceservice.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL value: "DEBUG" value: "INFO" readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:3030"] Loading manifests/webuiservice.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ spec: - containerPort: 8004 env: - name: LOG_LEVEL value: "DEBUG" value: "INFO" - name: WEBUISERVICE_SERVICE_BASEURL_HTTP value: "/webui/" readinessProbe: Loading src/context/service/database/Service.py +2 −0 Original line number Diff line number Diff line Loading @@ -88,6 +88,8 @@ def service_set(db_engine : Engine, messagebroker : MessageBroker, request : Ser service_type = grpc_to_enum__service_type(request.service_type) if service_type is None and request.service_type == ServiceTypeEnum.SERVICETYPE_OPTICAL_CONNECTIVITY: service_type = "OPTICAL_CONNECTIVITY" if service_type is None and request.service_type == ServiceTypeEnum.SERVICETYPE_IPLINK : service_type = "IP_LINK" service_status = grpc_to_enum__service_status(request.service_status.service_status) Loading src/pathcomp/frontend/service/algorithms/tools/ServiceTypes.py +1 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ SERVICE_TYPE_IPLINK = {ServiceTypeEnum.SERVICETYPE_IPLINK} def get_service_type(device_type : DeviceTypeEnum, prv_service_type : ServiceTypeEnum) -> ServiceTypeEnum: if device_type in PACKET_DEVICE_TYPES and prv_service_type in SERVICE_TYPE_LXNM: return prv_service_type if device_type in PACKET_DEVICE_TYPES and (prv_service_type in SERVICE_TYPE_LXNM or prv_service_type in SERVICE_TYPE_IPLINK ): return prv_service_type if device_type in L2_DEVICE_TYPES: return ServiceTypeEnum.SERVICETYPE_L2NM if device_type in OPTICAL_DEVICE_TYPES: return ServiceTypeEnum.SERVICETYPE_TAPI_CONNECTIVITY_SERVICE if device_type in NETWORK_DEVICE_TYPES: return prv_service_type Loading Loading
manifests/deviceservice.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL value: "DEBUG" value: "INFO" startupProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:2020"] Loading
manifests/serviceservice.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -36,7 +36,7 @@ spec: - containerPort: 9192 env: - name: LOG_LEVEL value: "DEBUG" value: "INFO" readinessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:3030"] Loading
manifests/webuiservice.yaml +1 −1 Original line number Diff line number Diff line Loading @@ -39,7 +39,7 @@ spec: - containerPort: 8004 env: - name: LOG_LEVEL value: "DEBUG" value: "INFO" - name: WEBUISERVICE_SERVICE_BASEURL_HTTP value: "/webui/" readinessProbe: Loading
src/context/service/database/Service.py +2 −0 Original line number Diff line number Diff line Loading @@ -88,6 +88,8 @@ def service_set(db_engine : Engine, messagebroker : MessageBroker, request : Ser service_type = grpc_to_enum__service_type(request.service_type) if service_type is None and request.service_type == ServiceTypeEnum.SERVICETYPE_OPTICAL_CONNECTIVITY: service_type = "OPTICAL_CONNECTIVITY" if service_type is None and request.service_type == ServiceTypeEnum.SERVICETYPE_IPLINK : service_type = "IP_LINK" service_status = grpc_to_enum__service_status(request.service_status.service_status) Loading
src/pathcomp/frontend/service/algorithms/tools/ServiceTypes.py +1 −1 Original line number Diff line number Diff line Loading @@ -49,7 +49,7 @@ SERVICE_TYPE_IPLINK = {ServiceTypeEnum.SERVICETYPE_IPLINK} def get_service_type(device_type : DeviceTypeEnum, prv_service_type : ServiceTypeEnum) -> ServiceTypeEnum: if device_type in PACKET_DEVICE_TYPES and prv_service_type in SERVICE_TYPE_LXNM: return prv_service_type if device_type in PACKET_DEVICE_TYPES and (prv_service_type in SERVICE_TYPE_LXNM or prv_service_type in SERVICE_TYPE_IPLINK ): return prv_service_type if device_type in L2_DEVICE_TYPES: return ServiceTypeEnum.SERVICETYPE_L2NM if device_type in OPTICAL_DEVICE_TYPES: return ServiceTypeEnum.SERVICETYPE_TAPI_CONNECTIVITY_SERVICE if device_type in NETWORK_DEVICE_TYPES: return prv_service_type Loading