kedge/scripts/validate-yang.sh
Tyler King 6058e62348 Initial commit: Kedge network automation platform
Go-based network automation with YANG models, gRPC, Ansible,
Terraform, and Kubernetes integration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-26 12:09:30 -05:00

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."