The scripts in this directory are to simulate a HMS vmomi server.

The main code to start the vmomi server is in hmsim.py and server.py.
To start a server on your linux box, use the following command:
"py.sh vpx/tests/lib/drs/hmssim/hmssim.py -i YOUR_VC_IP -u VC_USER -w VC_PWD"

Note that py.sh must be compatible with your cloud VM. Otherwise connecting
to VC server will fail with authentication error. To use the compatible
py.sh, dowload pyVpx from buildweb for the cloud VM build that you are using.
Also note that user/pwd to ssh to the cloud VM is hard coded in server.py.
Remember to update the script or use -U/W to give the correct user/pwd.

To get an idea on how to connect to the vmomi server, check hmsclient.py.
Note that the client will need to run as the same user on the same linux box
due to the way how certifaces are used to authenticate connection to the
vmomi server.

