summaryrefslogtreecommitdiff
path: root/ironic_python_agent/netutils.py
diff options
context:
space:
mode:
authorSam Betts <sam@code-smash.net>2016-05-25 10:38:45 +0100
committerSam Betts <sam@code-smash.net>2016-05-31 15:24:23 +0100
commit95e1e4e35a150c746de1771e27dfcd162e0be929 (patch)
tree72b0e7ce598bea3384f3194d9c68af1619fe217f /ironic_python_agent/netutils.py
parent01d49886aca3175f6eaaf1e5f62183cc31a49249 (diff)
downloadironic-python-agent-95e1e4e35a150c746de1771e27dfcd162e0be929.tar.gz
Consolidate IPA configuration into a config module
This patch moves the IPA oslo configs out of the agent cmd into their own module so that it is safe to import them from other places in the application without causing circular imports. Change-Id: I100792bd0d1f369763afaa6f93e144e9967c3048
Diffstat (limited to 'ironic_python_agent/netutils.py')
-rw-r--r--ironic_python_agent/netutils.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/ironic_python_agent/netutils.py b/ironic_python_agent/netutils.py
index ca06d7e1..ccf73c14 100644
--- a/ironic_python_agent/netutils.py
+++ b/ironic_python_agent/netutils.py
@@ -22,11 +22,6 @@ import sys
from oslo_config import cfg
from oslo_log import log as logging
-# FIXME(lucasagomes): If you don't import the agent module the tests in
-# this file will fail, it was working before because the agent module was
-# being imported at tests/agent.py
-from ironic_python_agent.cmd import agent # noqa
-
LOG = logging.getLogger(__name__)
CONF = cfg.CONF