Lower ML2 message severity.

Logging that a network has no segments as an error
message when it doesn't impact execution pollutes
logs.  Lower the message severity to debug.

Change-Id: I7d88581b4703e7c287cec9406dd093089db8595c
Closes-Bug: #1597362
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
This commit is contained in:
Ryan Moats 2016-06-29 09:24:14 -05:00
parent 0176877cb5
commit 00f3ab1f13
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ class TypeManager(stevedore.named.NamedExtensionManager):
def _extend_network_dict_provider(self, network, segments):
if not segments:
LOG.error(_LE("Network %s has no segments"), network['id'])
LOG.debug("Network %s has no segments", network['id'])
for attr in provider.ATTRIBUTES:
network[attr] = None
elif len(segments) > 1: