diff options
Diffstat (limited to 'ironic/conf/agent.py')
-rw-r--r-- | ironic/conf/agent.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ironic/conf/agent.py b/ironic/conf/agent.py index 81ced891e..d7ef8853d 100644 --- a/ironic/conf/agent.py +++ b/ironic/conf/agent.py @@ -84,6 +84,14 @@ opts = [ 'forever or until manually deleted. Used when the ' 'deploy_logs_storage_backend is configured to ' '"swift".')), + cfg.IntOpt('command_timeout', + default=60, + help=_('Timeout (in seconds) for IPA commands')), + cfg.IntOpt('max_command_attempts', + default=3, + help=_('This is the maximum number of attempts that will be ' + 'done for IPA commands that fails due to network ' + 'problems')), ] |