This script can be used or implemented in another code according to one's need.
It will generate the connected vplex hosts by selecting the storage array.
Uses python requests to make rest call and vplex box and ips should be present in a file called box.txt in same folder.
username and password must be changed.