Go-based network automation with YANG models, gRPC, Ansible, Terraform, and Kubernetes integration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
535 B
535 B
YANG Compiler
Transforms device-agnostic YANG site configuration into vendor-specific payloads.
Pipeline
sovereign-sdwan.yangdefines the schema- Per-site XML instance data (e.g.,
homelab.xml) - Compiler validates and produces vendor payloads
- Vendor targets: FortiOS REST, VyOS NETCONF, UniFi API
Usage
python3 -m compiler.compile --site-config site-config/homelab.xml --output-format json
Adding a Vendor
Create a new to_<vendor>.py module in yang/compiler/ implementing compile_zones().