]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Make log level in linux.utils.execute configurable
authorIlya Shakhat <ishakhat@mirantis.com>
Mon, 4 Aug 2014 12:46:27 +0000 (16:46 +0400)
committerIlya Shakhat <ishakhat@mirantis.com>
Tue, 26 Aug 2014 09:19:34 +0000 (13:19 +0400)
commit539778601fa13c2d41be604d938bec0a496969c2
tree5f62c11d8da03436d041cc24b48281dcc3b36619
parentf907677f1d85f12486d50a1fe8db03dcc9d08979
Make log level in linux.utils.execute configurable

Function linux.utils.execute always logs failures on error level.
Some callers use this function to check resource existance and
interpret failure as normal flow. Log level is made configurable
for such cases.

Change-Id: I8e4cd7b42234426f8fe58d353a64e898f02f8998
Closes-bug: 1339045
neutron/agent/linux/ip_lib.py
neutron/agent/linux/utils.py
neutron/plugins/linuxbridge/agent/linuxbridge_neutron_agent.py
neutron/tests/unit/test_agent_linux_utils.py
neutron/tests/unit/test_linux_ip_lib.py