Do not fail in Inspector.__init__ if [inspector]enabled is False
We already have a check in Inspector.create_if_enabled. This additional
check prevents normal use of Inspector with hardware types, as it's not
enough to add "inspector" to "enabled_inspect_interfaces" to use it.
Reviewed: https:/ /review. openstack. org/416232 /git.openstack. org/cgit/ openstack/ ironic/ commit/ ?id=56604b9d688 d76b3d77e85c3c0 69ab2d0a08fb6a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 56604b9d688d76b 3d77e85c3c069ab 2d0a08fb6a
Author: Dmitry Tantsur <email address hidden>
Date: Wed Jan 11 17:43:44 2017 +0100
Do not fail in Inspector.__init__ if [inspector]enabled is False
We already have a check in Inspector. create_ if_enabled. This additional inspect_ interfaces" to use it.
check prevents normal use of Inspector with hardware types, as it's not
enough to add "inspector" to "enabled_
Change-Id: Iff29785002cd97 8702317d50ce52b dcebe06d0e3
Partial-Bug: #1524745