skills/core/node-show-gateway/SKILL.md
Show the gateway for a network interface on a Kubernetes node. Runs `ip -j route` on the host via node_script tool.
npx skillsauth add scitix/siclaw node-show-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.
Use the node_script tool to run this skill:
node_script: node="<node>", skill="node-show-gateway", script="show-node-gateway.sh", args="<args>"
| Parameter | Required | Description |
|-----------|----------|-------------|
| --interface IFACE | no | Network interface name. If omitted, shows all. |
node_script: node="nodepool-061", skill="node-show-gateway", script="show-node-gateway.sh", args="--interface eth0"
node_script: node="nodepool-061", skill="node-show-gateway", script="show-node-gateway.sh"
The output table includes a TYPE column identifying each interface type:
| TYPE | Meaning |
|------|---------|
| RoCE | Ethernet interface with an RDMA device attached |
| Ethernet | Regular Ethernet interface |
| IB | InfiniBand interface |
Detection logic: /sys/class/net/<dev>/type = 32 → IB; type=1 and rdma link contains netdev <dev> → RoCE; otherwise → Ethernet.
If the target interface is a PF in switchdev mode, the displayed gateway routes are not meaningful — the PF acts as an embedded switch and cannot send or receive traffic as an endpoint.
What to do instead: run node-list-roce-pods on the node to find a RoCE pod,
then use pod-show-gateway on that pod. This tests the actual VF data path.
See roce-diag-sriov-switchdev for full background.
See pod-show-gateway for the pod version.
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.
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.
development
Retrieve and analyze Volcano scheduler logs. Filter by keyword, time range, or pod name to debug scheduling decisions.
tools
View Volcano scheduler configuration. Check scheduler ConfigMap, actions, plugins, and tier settings.