def __virtual__():
    if salt.utils.is_proxy():
        return __virtualname__
    return (False, 'The esxi execution module failed to load: '
            'only available on proxy minions.')
Only work on proxy
dataset/ETHPy150Open saltstack/salt/salt/modules/esxi.py/__virtual__