Go-based network automation with YANG models, gRPC, Ansible, Terraform, and Kubernetes integration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
13 lines
271 B
Bash
Executable file
13 lines
271 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
# Validate YANG models with pyang --strict.
|
|
# Usage: ./validate-yang.sh
|
|
|
|
YANG_DIR="$(dirname "$0")/../yang"
|
|
|
|
echo "Validating YANG models..."
|
|
|
|
pyang --strict "${YANG_DIR}/models/sovereign-sdwan.yang"
|
|
|
|
echo "YANG validation passed."
|