Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Lists VMs, checks snapshot age, and audits VMware inventory on ESXi hosts in a pyATS testbed.
Use this skill ↓36% 86%+50 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 8 of 22 without it.
Write the exact MCP JSON argument payload structure to run `vim-cmd vmsvc/getallvms` on device `esxi-host-03` using the `pyats_run_linux_command` tool.
The payload contains device_name set to esxi-host-03.
3 of 3 safety checks passed
ESXi hosts must be defined in the pyATS testbed with os: linux (ESXi shell is Linux-based):
devices:
esxi-host-01:
os: linux
type: esxi
connections:
cli:
protocol: ssh
ip: 10.0.0.100
port: 22
credentials:
default:
username: "%ENV{NETCLAW_USERNAME}"
password: "%ENV{NETCLAW_PASSWORD}"
Note: SSH must be enabled on the ESXi host (disabled by default). Enable via vSphere Client → Host → Configure → System → Services → SSH → Start.
All commands use pyats_run_linux_command:
PYATS_TESTBED_PATH=$PYATS_TESTBED_PATH python3 $MCP_CALL "${PYATS_PYTHON:-python3} -u $PYATS_MCP_SCRIPT" pyats_run_linux_command '{"device_name":"esxi-host-01","command":"<command>"}'
PYATS_TESTBED_PATH=$PYATS_TESTBED_PATH python3 $MCP_CALL "${PYATS_PYTHON:-python3} -u $PYATS_MCP_SCRIPT" pyats_run_linux_command '{"device_name":"esxi-host-01","command":"vim-cmd vmsvc/getallvms"}'
Next to this one in the catalogue, plus more from the same author.