Commit graph

9 commits

Author SHA1 Message Date
pascalheraud
a28287d0b4 Update ovh_ip_loadbalancing_backend.py
Fixed documentation from "ip" to "backend" and enhanced text.
2016-07-27 15:51:25 -07:00
pascalheraud
13b164791e Update ovh_ip_loadbalancing_backend.py 2016-07-27 15:51:25 -07:00
pascalheraud
6b91834d9f Changed licence and main() 2016-07-27 15:51:25 -07:00
pascalheraud
40b78fbf72 Fixed bad location and import
Fixed bad type of default value for timeout
2016-07-27 15:51:25 -07:00
pascalheraud
7c9fdba5ad Fixed the module to be compliant with pep8 2016-07-27 15:51:25 -07:00
pascalheraud
1972df5a71 Removed unnecessary moduleChanged=False
Added missing exceptions handling
2016-07-27 15:51:25 -07:00
pascalheraud
f7a5013083 Added a timeout param to prevent infinite loop while waiting for
completion of a task.
2016-07-27 15:51:25 -07:00
pascalheraud
37900daf79 Fixed module from review inputs :
- Caught the exception from import ovh to provide a proper message to
the user
- Removed unuseful brackets
- Added a else to check the state instead of two if
- Changed the module to be added to 2.0
- Added exceptions handling for all APIs calls with a clear message
including the return from the API.

And : 
- Fixed dependency of OVH api to 0.3.5
2016-07-27 15:51:25 -07:00
pascalheraud
a767da1139 Added OVH Ip loadbalancing module for managing backends 2016-07-27 15:51:25 -07:00