def get_host_by_name(si, name):
    return _get_obj(si.RetrieveContent(), [vim.HostSystem], name)
Find a virtual machine by it's name and return it
dataset/ETHPy150Open ngageoint/cocreate/ccl-cookbook/files/default/cocreatelite/cocreate/createvm/pyvmutils.py/get_host_by_name