Readds plugins code and respective tests
[osm/MON.git] / osm_mon / tests / plugins / VMware / __init__.py
1 # -*- coding: utf-8 -*-
2
3 ##
4 # Copyright 2017-2018 VMware Inc.
5 # This file is part of ETSI OSM
6 # All Rights Reserved.
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 # For those usages not covered by the Apache License, Version 2.0 please
21 # contact: osslegalrouting@vmware.com
22 ##
23
24 """VMware MON plugin tests."""
25
26 import logging
27 import sys
28
29 from osm_mon.core.settings import Config
30
31 cfg = Config.instance()
32 logging.basicConfig(stream=sys.stdout,
33 format='%(asctime)s - %(name)s - %(levelname)s - %(message)s',
34 datefmt='%m/%d/%Y %I:%M:%S %p',
35 level=logging.getLevelName(cfg.OSMMON_LOG_LEVEL))
36 log = logging.getLogger(__name__)
37