Fix a log typo in ML2 manager.bind_port()
Change-Id: I43134ef4a9e01aac1967fb7b69ad36f96cde04c0
This commit is contained in:
parent
59da928e94
commit
57011b901f
|
@ -444,8 +444,8 @@ class MechanismManager(stevedore.named.NamedExtensionManager):
|
||||||
attempt to establish a port binding.
|
attempt to establish a port binding.
|
||||||
"""
|
"""
|
||||||
binding = context._binding
|
binding = context._binding
|
||||||
LOG.debug(_("Attempting to bind port %(port)s on host %(host)s "
|
LOG.debug("Attempting to bind port %(port)s on host %(host)s "
|
||||||
"for vnic_type %(vnic_type)s with profile %(profile)s"),
|
"for vnic_type %(vnic_type)s with profile %(profile)s",
|
||||||
{'port': context._port['id'],
|
{'port': context._port['id'],
|
||||||
'host': binding.host,
|
'host': binding.host,
|
||||||
'vnic_type': binding.vnic_type,
|
'vnic_type': binding.vnic_type,
|
||||||
|
@ -455,12 +455,12 @@ class MechanismManager(stevedore.named.NamedExtensionManager):
|
||||||
driver.obj.bind_port(context)
|
driver.obj.bind_port(context)
|
||||||
if binding.segment:
|
if binding.segment:
|
||||||
binding.driver = driver.name
|
binding.driver = driver.name
|
||||||
LOG.debug(_("Bound port: %(port)s, host: %(host)s, "
|
LOG.debug("Bound port: %(port)s, host: %(host)s, "
|
||||||
"vnic_type: %(vnic_type)s, "
|
"vnic_type: %(vnic_type)s, "
|
||||||
"profile: %(profile)s"
|
"profile: %(profile)s, "
|
||||||
"driver: %(driver)s, vif_type: %(vif_type)s, "
|
"driver: %(driver)s, vif_type: %(vif_type)s, "
|
||||||
"vif_details: %(vif_details)s, "
|
"vif_details: %(vif_details)s, "
|
||||||
"segment: %(segment)s"),
|
"segment: %(segment)s",
|
||||||
{'port': context._port['id'],
|
{'port': context._port['id'],
|
||||||
'host': binding.host,
|
'host': binding.host,
|
||||||
'vnic_type': binding.vnic_type,
|
'vnic_type': binding.vnic_type,
|
||||||
|
|
Loading…
Reference in New Issue