diff --git a/src/vmm_mad/remotes/sl/sl_driver.conf b/src/vmm_mad/remotes/sl/sl_driver.conf index d88848b408..d46d84367d 100644 --- a/src/vmm_mad/remotes/sl/sl_driver.conf +++ b/src/vmm_mad/remotes/sl/sl_driver.conf @@ -1,4 +1,5 @@ # Regions extracted from http://www.softlayer.com/data-centers +timeout: 120 regions: default: region_name: sjc01 diff --git a/src/vmm_mad/remotes/sl/sl_driver.rb b/src/vmm_mad/remotes/sl/sl_driver.rb index cf2dc7fbf8..d60945377f 100644 --- a/src/vmm_mad/remotes/sl/sl_driver.rb +++ b/src/vmm_mad/remotes/sl/sl_driver.rb @@ -172,6 +172,8 @@ class SLDriver client_cred[:endpoint_url]=@region['endpoint'] if @region['endpoint'] + client_cred[:timeout] = public_cloud_sl_conf['timeout'] || 120 + @sl_client = SoftLayer::Client.new(client_cred) end