Preparation:
On VM:
- install mysql, create db 's5' and table bucket(with 3 col, id, name, uuid) - can be found in Bucket.py
- run server by: gunicorn -b 0.0.0.0:8000 vsan:app
- Now don't use host name, just set a header BucketName instead *. you can refer to src/curl.cmd for how to call rest API by curl
On ESXi host:
- upload code in src_on_host/
- open firewall for incoming port 10080
- run OSServer.py