skills/core/pod-ping-gateway/SKILL.md
Ping a pod's gateway for a given network interface. Auto-detects gateway IP from the routing table, then pings it. First resolve_pod_netns, then node_script with netns param.
npx skillsauth add scitix/siclaw pod-ping-gatewayInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill runs in the pod's network namespace using host tools. Two steps required:
resolve_pod_netns: pod="<pod>", namespace="<ns>"
node_script: node="<node>", netns="<netns>", skill="pod-ping-gateway", script="ping-gateway.sh", args="<args>"
| Parameter | Required | Description |
|-----------|----------|-------------|
| --interface IFACE | yes | Network interface to find gateway for |
| --source-ip | no | flag, auto-detect IP from interface, use as ping source (-I <ip>) |
| --source-dev | no | flag, use interface name as ping source (-I <iface>) |
| --count N | no | Number of ping packets (default: 3) |
--source-ip and --source-dev are mutually exclusive flags (no value needed).
resolve_pod_netns: pod="rdma-pod", namespace="rdma-test"
→ node="worker-1", netns="abc123"
node_script: node="worker-1", netns="abc123", skill="pod-ping-gateway", script="ping-gateway.sh", args="--interface net1"
node_script: node="worker-1", netns="abc123", skill="pod-ping-gateway", script="ping-gateway.sh", args="--interface net1 --source-ip"
node_script: node="worker-1", netns="abc123", skill="pod-ping-gateway", script="ping-gateway.sh", args="--interface net1 --source-dev"
Node version: see node-ping-gateway.
testing
Show and ping the gateway of a network interface, on a Kubernetes node or inside a pod's network namespace. Auto-detects the gateway from the routing table (ip -j route), reports interface type (RoCE / Ethernet / IB), and tests reachability with ping. Use for default-route / gateway questions, network reachability checks, RoCE/RDMA data-path validation, and "can this node/pod reach its gateway" investigations.
development
Guide for writing and improving Siclaw skills. Read this when creating or modifying a skill. Covers skill directory layout, SKILL.md format, script execution modes, and best practices.
devops
Retrieve logs from a Kubernetes node. Supports journalctl (systemd units) and file-based logs. Use when you need to inspect node-level logs (containerd, kubelet, etc.). Run via host_script (preferred) or node_script.
development
Guides the user to the Siclaw Web page to manage Skills. Use this guide when the user requests to create, edit, or view a Skill in a Channel conversation.