Fix LBaaSv2 logging

Remove unused logger from driver
Add missing method log calling to healthmon_mgr

Change-Id: Ie44925118f2b2c0be087a45c223d7c2314ef3426
This commit is contained in:
Kobi Samoray 2016-01-21 03:14:45 +02:00
parent df10713b6b
commit 6aa70ca75b
2 changed files with 1 additions and 3 deletions

View File

@ -15,7 +15,6 @@
from oslo_log import helpers as log_helpers
from oslo_log import log as logging
from vmware_nsx.services.lbaas.nsx_v.v2 import healthmon_mgr as hm_mgr
from vmware_nsx.services.lbaas.nsx_v.v2 import listener_mgr
@ -23,8 +22,6 @@ from vmware_nsx.services.lbaas.nsx_v.v2 import loadbalancer_mgr as lb_mgr
from vmware_nsx.services.lbaas.nsx_v.v2 import member_mgr
from vmware_nsx.services.lbaas.nsx_v.v2 import pool_mgr
LOG = logging.getLogger(__name__)
class EdgeLoadbalancerDriverV2(object):
@log_helpers.log_method_call

View File

@ -30,6 +30,7 @@ LOG = logging.getLogger(__name__)
class EdgeHealthMonitorManager(base_mgr.EdgeLoadbalancerBaseManager):
@log_helpers.log_method_call
def _convert_lbaas_monitor(self, hm):
"""
Transform OpenStack health monitor dict to NSXv health monitor dict.