summaryrefslogtreecommitdiff
path: root/ironic_python_agent/cmd
diff options
context:
space:
mode:
authorJohn L. Villalovos <john.l.villalovos@intel.com>2015-10-02 10:01:00 -0700
committerJohn L. Villalovos <john.l.villalovos@intel.com>2015-10-02 10:01:00 -0700
commitdcbba2b121da1525feff162aca17a8cc4adf55d6 (patch)
tree8e9c4c4c2a332adbbdd00ed80a3d40553c61e242 /ironic_python_agent/cmd
parent0144e79df5dab0837a55a981fa23298908af14cf (diff)
downloadironic-python-agent-dcbba2b121da1525feff162aca17a8cc4adf55d6.tar.gz
Enforce all flake8 rules except E129
Bring ironic-python-agent in line with the other ironic projects. Stop ignoring all E12* errors except E129 Stop ignoring E711 Change-Id: Icb9bc198473d1b5e807c20869eb2af7f4d7ac360
Diffstat (limited to 'ironic_python_agent/cmd')
-rw-r--r--ironic_python_agent/cmd/agent.py26
1 files changed, 13 insertions, 13 deletions
diff --git a/ironic_python_agent/cmd/agent.py b/ironic_python_agent/cmd/agent.py
index c1fd6943..9bdfa5d2 100644
--- a/ironic_python_agent/cmd/agent.py
+++ b/ironic_python_agent/cmd/agent.py
@@ -28,14 +28,14 @@ APARAMS = utils.get_agent_params()
cli_opts = [
cfg.StrOpt('api_url',
- default=APARAMS.get('ipa-api-url', 'http://127.0.0.1:6385'),
- deprecated_name='api-url',
- help='URL of the Ironic API'),
+ default=APARAMS.get('ipa-api-url', 'http://127.0.0.1:6385'),
+ deprecated_name='api-url',
+ help='URL of the Ironic API'),
cfg.StrOpt('listen_host',
- default=APARAMS.get('ipa-listen-host', '0.0.0.0'),
- deprecated_name='listen-host',
- help='The IP address to listen on.'),
+ default=APARAMS.get('ipa-listen-host', '0.0.0.0'),
+ deprecated_name='listen-host',
+ help='The IP address to listen on.'),
cfg.IntOpt('listen_port',
default=int(APARAMS.get('ipa-listen-port', 9999)),
@@ -43,10 +43,10 @@ cli_opts = [
help='The port to listen on'),
cfg.StrOpt('advertise_host',
- default=APARAMS.get('ipa-advertise-host', None),
- deprecated_name='advertise_host',
- help='The host to tell Ironic to reply and send '
- 'commands to.'),
+ default=APARAMS.get('ipa-advertise-host', None),
+ deprecated_name='advertise_host',
+ help='The host to tell Ironic to reply and send '
+ 'commands to.'),
cfg.IntOpt('advertise_port',
default=int(APARAMS.get('ipa-advertise-port', 9999)),
@@ -88,9 +88,9 @@ cli_opts = [
'exceeded.'),
cfg.StrOpt('driver_name',
- default=APARAMS.get('ipa-driver-name', 'agent_ipmitool'),
- deprecated_name='driver-name',
- help='The Ironic driver in use for this node'),
+ default=APARAMS.get('ipa-driver-name', 'agent_ipmitool'),
+ deprecated_name='driver-name',
+ help='The Ironic driver in use for this node'),
cfg.FloatOpt('lldp_timeout',
default=APARAMS.get('lldp-timeout', 30.0),