Most networks rarely fail all at once. I mean, they drift, one undocumented cable and one hand-typed change at a time, until nobody can say for certain what is running. This book shows programmers how to use Go to check, modify, monitor and protect an enterprise infrastructure with just code. In this book, you get to work in a free Containerlab with Nokia SR Linux and FRR, building netkit, along with a single Go toolkit.
The book explores various genuine problems, like an optics recall, a partner VPN that's not working right, or a backup that's slow because of traffic, and ends with a command that solves it. I'll show you to use LLDP to discover topology, manage devices over SSH with scrapligo and read YANG-modeled state through NETCONF, RESTCONF and gNMI. You'll be handling multi-vendor configurations from validated intent and rolling out changes with dry runs, confirmed commits, canaries and automatic rollback. And you'll stream telemetry into Prometheus, capture packets with gopacket, peer with routers using GoBGP and heal routine failures within guardrails. Additionally, you'll be auditing security policies, extending automation to AWS and Kubernetes, and shipping everything as a tested CLI with a CI pipeline.
Key LearningsExplore real topology with LLDP and compare it automatically with network diagrams.
Manage multi-vendor devices with scrapligo, strict host keys and bounded concurrency.
Read YANG-modeled state through NETCONF, RESTCONF and gNMI.
Plan subnets and claim addresses atomically through NetBox API.
Render multi-vendor configurations from using ygot and Go templates.
Make changes using dry runs, diffs, confirmed commits and Git change records.
Roll out fleet changes using canaries and errgroup waves with targeted automatic rollback.
Stream gNMI telemetry and syslog events into Prometheus and Grafana to expose bursts.
Repair routine failures automatically within guardrails, hold files and human escalation.
Ship audited, tested automation as a Cobra CLI and HTTP API gated by CI.
Table of ContentMapping Hidden Network Dependencies
Automating Concurrent SSH Queries
Automating IP Address Management
Querying YANG Models
Writing Intent Instead of Commands
Deploying Reversible Config Changes
Orchestrating Hundreds of Devices
Streaming Real-Time Network Telemetry
Troubleshooting Packet-Level Faults
Auto-healing Routine Failures
Guarding Network with Code
Automating Hybrid Cloud Networking
Shipping Automation Tools
外文書商品之書封,為出版社提供之樣本。實際出貨商品,以出版社所提供之現有版本為主。部份書籍,因出版社供應狀況特殊,匯率將依實際狀況做調整。
無庫存之商品,在您完成訂單程序之後,將以空運的方式為你下單調貨。為了縮短等待的時間,建議您將外文書與其他商品分開下單,以獲得最快的取貨速度,平均調貨時間為1~2個月。
為了保護您的權益,「三民網路書店」提供會員七日商品鑑賞期(收到商品為起始日)。
若要辦理退貨,請在商品鑑賞期內寄回,且商品必須是全新狀態與完整包裝(商品、附件、發票、隨貨贈品等)否則恕不接受退貨。