Feature 10937: Transport API (TAPI) WIM connector for RO
[osm/RO.git] / RO-SDN-tapi / osm_rosdn_tapi / log_messages.py
1 # -*- coding: utf-8 -*-
2
3 #######################################################################################
4 # This file is part of OSM RO module
5 #
6 # Copyright ETSI Contributors and Others.
7 #
8 # Licensed under the Apache License, Version 2.0 (the "License"); you may
9 # not use this file except in compliance with the License. You may obtain
10 # a copy of the License at
11 #
12 # http://www.apache.org/licenses/LICENSE-2.0
13 #
14 # Unless required by applicable law or agreed to in writing, software
15 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
16 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
17 # License for the specific language governing permissions and limitations
18 # under the License.
19 #######################################################################################
20 # This work has been performed in the context of the TeraFlow Project -
21 # funded by the European Commission under Grant number 101015857 through the
22 # Horizon 2020 program.
23 # Contributors:
24 # - Lluis Gifre <lluis.gifre@cttc.es>
25 # - Ricard Vilalta <ricard.vilalta@cttc.es>
26 #######################################################################################
27
28 """This file contains the templete strings used to generate log messages for the
29 Transport API (TAPI) WIM connector."""
30
31 _PREFIX = "WIM TAPI Connector: "
32
33
34 LOG_MSG_CREATE_REQUEST = (
35 _PREFIX + "Create Connectivity Service: Request {:s} {:s}: {:s}"
36 )
37
38 LOG_MSG_CREATE_REPLY = (
39 _PREFIX
40 + "Create Connectivity Service: Reply {:s} {:s}: status_code={:d} reply={:s}"
41 )
42
43 LOG_MSG_GET_STATUS_REQUEST = (
44 _PREFIX + "Get Connectivity Service Status: Request {:s} {:s}"
45 )
46
47 LOG_MSG_GET_STATUS_REPLY = (
48 _PREFIX
49 + "Get Connectivity Service Status: Reply {:s} {:s}: status_code={:d} reply={:s}"
50 )
51
52 LOG_MSG_DELETE_REQUEST = (
53 _PREFIX + "Delete Connectivity Service: Request {:s} {:s}: {:s}"
54 )
55
56 LOG_MSG_DELETE_REPLY = (
57 _PREFIX
58 + "Delete Connectivity Service: Reply {:s} {:s}: status_code={:d} reply={:s}"
59 )