Let AI Break the Lab: Network as Code in the Real World#
CHNUG #5 digest Program Core pick 12 November 2026
Speakers: Patrick Mosimann (Cisco), Dawid Bednarczyk (Cisco CX)
- Why: This is the first talk in the program that directly addresses the question every network org is wrestling with in 2026: how do you let AI agents near a production network without burning it down? The answer here is not "AI runs your network" — it is a concrete, measured case study of AI writing almost every change while a deterministic pipeline holds the keys. For a PM thinking about automation and AI-for-infrastructure, this is a rare empirical data point rather than a demo.
- What: A full Network-as-Code (NaC) method — YAML data model in Git, validation, Terraform plan/deploy, tests generated from the same model — combined with AI agents (Claude Code CLI) drafting changes, deployed in a real rollout: a European insurer, ~10 office sites in two countries, ~350 access switches, ~1,200 APs, ~4,400 users, migrating to Catalyst Center + ISE (802.1X/EAP-TLS everywhere) + SD-WAN, all as code. The deck gives real progress metrics: ~860 commits, 121 pipeline runs, 108 AI Research→Plan→Implement cycles, 36 transcribed meetings, with first production push in Nov 2026. Crucially, it includes a failure taxonomy: of 121 pipeline runs, 75 failed (37 device-rejects-the-apply, 10 plan-time errors, 9 device-not-in-inventory, 13 failure classes total), which AI itself read and turned into an 8-gate local pre-check.
- How: Every AI idea becomes a diff to a YAML file; the merge request is the change ticket (diff, plan, tests, approver). The pipeline stages — validate (nac-validate, Yamale schema + Python rules), plan (terraform), human review, deploy, test (nac-test Robot templates rendered from the same YAML) — are the same ones a human change goes through. Two key operational patterns: (1) a lab environment with real hardware where AI has auto-apply and is allowed to fail, versus production with no shared state and mandatory senior-engineer approval; (2) direct read-only, audited AI access to the lab (RADKit/Cisco IQ), which turned a day-long human capture-script relay into a minute-long loop — with concrete results like reproducing a failing template in the lab and finding a 343-character description against a 255 limit. Failover tests improved from 5–6 min outage to 0–1 lost pings (core, over four days and six code-made fixes) and from 5:17 min to ~9 s (WAN edge, same day). Six "landmines" caught before production are catalogued — a silently-unloaded validator schema (0 errors reported vs 129 real findings), an unpinned Terraform provider breaking the pipeline overnight, a risk-score gate that never fired, lab IPs in template defaults, an unsupported controller split, and one manual click that a redeploy dropped.
- Where applicable: The method is deliberately vendor-agnostic — any platform with an API and a Terraform provider works, and the open-source tools (nac-validate, nac-test, MPL-2.0 on GitHub) are public. But the worked examples and the case study are Cisco-stack specific (Catalyst Center, ISE, SD-WAN, ACI, NX-OS, Meraki models), and there is a Cisco CX services layer ("Services as Code", 300+ deployments claimed) — so read it as a strong operational lesson with a services pitch attached, not a neutral framework. The honest-caveat slide is worth internalizing: "AI speeds up everything you control. Only that" — tickets in other teams' queues, admin rights, licences and firewalls remained the bottleneck.
