Don't log ipam driver on every IP allocation

We only support one driver right now so there isn't a point
in logging it for every single IP allocation call.

TrivialFix

Change-Id: Iebd753e9ca433227c9622227ba76a246b4fea2b3
This commit is contained in:
Kevin Benton 2017-06-14 02:11:17 -07:00
parent 3ad8b30e2f
commit ec5b75f543

View File

@ -48,7 +48,6 @@ class Pool(object):
"""
ipam_driver_name = cfg.CONF.ipam_driver
mgr = manager.NeutronManager
LOG.debug("Loading ipam driver: %s", ipam_driver_name)
driver_class = mgr.load_class_for_provider('neutron.ipam_drivers',
ipam_driver_name)
return driver_class(subnet_pool, context)