Simple python script for search a server into Kimsufi server page for it availability
- Python3.5
- pip3
- 'requests' module installed :
pip3 install requests
$ git clone git@github.com:SkYNewZ/python-scripts.git
$ cd python-scripts/kimsufi
$ chmod +x verify-server-availabilty-kimsufi.py
usage: verify-server-availabilty-kimsufi.py [-h] --server SERVER --datacenter
{default,fra} --region {europe}
--host HOST --port PORT --user USER
--password PASSWORD
[--sender SENDER] --target TARGET
optional arguments:
-h, --help show this help message and exit
--server SERVER Wich server to you search for availability
--datacenter {default,fra}
Which preferred data center are you searching for
--region {europe} In which region are you searching for
--host HOST SMTP host
--port PORT SMTP port
--user USER SMTP user
--password PASSWORD SMTP password
--sender SENDER SMTP sender
--target TARGET Who will receive the mail