X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=RO-SDN-tapi%2Fosm_rosdn_tapi%2Flog_messages.py;fp=RO-SDN-tapi%2Fosm_rosdn_tapi%2Flog_messages.py;h=f8fc02adc6ae073c4d44490d58801771aaadc36b;hb=210ec7ca0dc0df57a9302486eedea70f9afafb18;hp=0000000000000000000000000000000000000000;hpb=ce61568d0ed0ed91ff684761b3e97102dd4e8883;p=osm%2FRO.git diff --git a/RO-SDN-tapi/osm_rosdn_tapi/log_messages.py b/RO-SDN-tapi/osm_rosdn_tapi/log_messages.py new file mode 100644 index 00000000..f8fc02ad --- /dev/null +++ b/RO-SDN-tapi/osm_rosdn_tapi/log_messages.py @@ -0,0 +1,59 @@ +# -*- coding: utf-8 -*- + +####################################################################################### +# This file is part of OSM RO module +# +# Copyright ETSI Contributors and Others. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +####################################################################################### +# This work has been performed in the context of the TeraFlow Project - +# funded by the European Commission under Grant number 101015857 through the +# Horizon 2020 program. +# Contributors: +# - Lluis Gifre +# - Ricard Vilalta +####################################################################################### + +"""This file contains the templete strings used to generate log messages for the +Transport API (TAPI) WIM connector.""" + +_PREFIX = "WIM TAPI Connector: " + + +LOG_MSG_CREATE_REQUEST = ( + _PREFIX + "Create Connectivity Service: Request {:s} {:s}: {:s}" +) + +LOG_MSG_CREATE_REPLY = ( + _PREFIX + + "Create Connectivity Service: Reply {:s} {:s}: status_code={:d} reply={:s}" +) + +LOG_MSG_GET_STATUS_REQUEST = ( + _PREFIX + "Get Connectivity Service Status: Request {:s} {:s}" +) + +LOG_MSG_GET_STATUS_REPLY = ( + _PREFIX + + "Get Connectivity Service Status: Reply {:s} {:s}: status_code={:d} reply={:s}" +) + +LOG_MSG_DELETE_REQUEST = ( + _PREFIX + "Delete Connectivity Service: Request {:s} {:s}: {:s}" +) + +LOG_MSG_DELETE_REPLY = ( + _PREFIX + + "Delete Connectivity Service: Reply {:s} {:s}: status_code={:d} reply={:s}" +)