Go-based network automation with YANG models, gRPC, Ansible, Terraform, and Kubernetes integration. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
21 lines
542 B
YAML
21 lines
542 B
YAML
apiVersion: k8s.cni.cncf.io/v1
|
|
kind: NetworkAttachmentDefinition
|
|
metadata:
|
|
name: infra-mgmt
|
|
namespace: bascule
|
|
spec:
|
|
config: |
|
|
{
|
|
"cniVersion": "1.0.0",
|
|
"name": "kedge-infra",
|
|
"type": "kedge-cni",
|
|
"meshConfig": "/etc/kedge/mesh.json",
|
|
"underlayRoutes": [
|
|
{"dst": "172.16.0.0/24", "via": "vlan100"},
|
|
{"dst": "10.0.1.0/24", "via": "vlan10"},
|
|
{"dst": "192.168.50.0/24", "via": "vlan50"}
|
|
],
|
|
"overlayRoutes": [
|
|
{"dst": "10.100.0.0/24", "via": "wg0"}
|
|
]
|
|
}
|