PLATFORM
- Lab management network 192.168.0.0/24 (switch mgmt0 in VRF management, server management NICs).
- Lab data plane in 100.64.0.0/16: point-to-point links 100.64.<A><B>.0/30, loopbacks 100.64.0.N/32, server subnets 100.64.11.0/24 (Site 1) and 100.64.27.0/24 (Site 2).
NETWORK DEVICES
- Ten Cisco Nexus 9000v virtual switches, chassis type C9300v.
- Cisco NX-OS 10.4(3) Feature Release, image nxos64-cs.10.4.3.F.bin.
- Each switch: Intel Xeon Platinum 8168 vCPU, 16 GB RAM.
- Roles: L3-switch-01 to 04 Site 1; L3-switch-05 and 06 simulated carriers (Telco 1 and Telco 2); L3-switch-07 to 10 Site 2. Switches 01 and 07 are hybrid L2/L3 with a VLAN 100 SVI toward the test servers.
- NX-OS features used: OSPFv2, EIGRP, IS-IS, BGP, static routing, interface-vlan, LLDP, SSH, checkpoint/rollback, JSON show output.
SERVERS AND WORKSTATION
- net-harness, 192.168.0.30: lab controller and jump host. VMware VM, 8 vCPU, 16 GB RAM, 58 GB disk. Ubuntu 26.04.1 LTS, kernel 7.0.0-43-generic, systemd 259, OpenSSH 10.2p1.
- test-server-01, 192.168.0.31 (lab NIC 100.64.11.100): VMware VM, 8 vCPU, 16 GB RAM. Ubuntu 26.04.1 LTS, kernel 7.0.0-43-generic, lldpd 1.0.19, traceroute 2.1.6, iputils-ping 20250605, OpenSSH 10.2p1.
- test-server-02, 192.168.0.32 (lab NIC 100.64.27.100): same build as test-server-01.
- Windows 11, Chrome browsing to //net-harness
LAB CONTROLLER SOFTWARE (net-harness, /opt/net-harness)
- net-harness application 1.1.0: FastAPI web app, topology discovery, LLM agent, lab reset, end-to-end test.
- Python 3.14.4, virtualenv at /opt/net-harness/.venv.
- FastAPI 0.162.5 and Starlette 1.10.0: HTTP API and Server-Sent Events chat stream.
- uvicorn 0.54.0: ASGI server, run as a systemd service (net-harness.service) on port 80 with CAP_NET_BIND_SERVICE.
- Pydantic 2.14.3: request and response models.
- netmiko 4.8.0: persistent SSH sessions to the NX-OS switches.
- paramiko 5.1.0: SSH to the Linux test servers.
- anthropic SDK 2.8.0: Claude models via the Messages API (streaming, tool use, adaptive thinking).
- openai SDK 3.50.0: GPT, Gemini, Llama, Nemotron and other models via Chat Completions.
- httpx2 2.16.0: HTTP client used by both SDKs.
- PyYAML 6.0.3: inventory and settings (config/inventory.yaml).
- python-dotenv 1.2.4: credential loading (config/credentials.env).
BROWSER FRONT END (static files served from /opt/net-harness/static, no build step)
- Cytoscape.js 3.35.0: interactive topology graph with protocol-colored links and interface addresses.
- marked 18.2.0: Markdown rendering of LLM replies and the lab guide.
- DOMPurify 3.4.17: sanitizing rendered Markdown.
- Plain HTML, CSS and JavaScript single-page UI (index.html, app.js, style.css).
LLM ACCESS
- WWT AI Gateway at aigw.pg.wwtatc.ai, one API key, about 55 models.
- Claude models through /v1/messages (default model claude-fable-5-1).
- GPT, Gemini, Llama, NVIDIA Nemotron and others through /v1/chat/completions.
- Validated models: claude-fable-5-1 (all scenarios), gpt-5.5 (audit), nvidia/nemotron-3-super-120b-a12b (pseudo-real-world).
BUILD AND OPERATIONS TOOLING
- Claude Code (Claude Fable 5.1) authored the controller, prompts, UI and lab guide.
- Cisco NX-OS checkpoint and rollback provide the baseline capture and one-click lab reset.
- LLDP on the switches and lldpd on the servers drive live link discovery for the topology map.
- Helper scripts in /opt/net-harness/scripts: discover, make_baseline, reset_lab, e2e_test, show, config, summarize_chat.