X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fosm_vnfm%2Fbase_methods.py;fp=osm_nbi%2Fosm_vnfm%2Fbase_methods.py;h=f7ca5f4eaf816b4c72ca9363772d665d4214ec96;hp=0000000000000000000000000000000000000000;hb=e47b913f0500837d7caa2ee25c0b476f58884859;hpb=eab1507cb7a80d8881fcee6ba95ee318b6b035d3 diff --git a/osm_nbi/osm_vnfm/base_methods.py b/osm_nbi/osm_vnfm/base_methods.py new file mode 100644 index 0000000..f7ca5f4 --- /dev/null +++ b/osm_nbi/osm_vnfm/base_methods.py @@ -0,0 +1,29 @@ +# Copyright 2021 K Sai Kiran (Tata Elxsi) +# +# 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. + +__author__ = "K Sai Kiran , Selvi Jayaraman " +__date__ = "$12-June-2021 8:30:59$" + + +import logging + + +class BaseMethod: + + def __init__(self): + """ + Constructor of the base method + """ + self.logger = logging.getLogger("nbi.engine")