]> git.proxmox.com Git - mirror_frr.git/blob - yang/example/ripd.json
yang, ripd: add 'frr-ripd.yang' and associated stub callbacks
[mirror_frr.git] / yang / example / ripd.json
1 {
2 "frr-interface:lib": {
3 "interface": [
4 {
5 "name": "eth0",
6 "vrf": "default",
7 "description": "engineering",
8 "frr-ripd:rip": {
9 "split-horizon": "poison-reverse",
10 "v2-broadcast": "true",
11 "version-receive": "1",
12 "version-send": "1"
13 }
14 },
15 {
16 "name": "eth1",
17 "vrf": "default",
18 "description": "marketing"
19 }
20 ]
21 },
22 "frr-ripd:ripd": {
23 "instance": {
24 "allow-ecmp": "true",
25 "distance": {
26 "source": [
27 {
28 "prefix": "172.16.1.0/24",
29 "distance": "25"
30 }
31 ]
32 },
33 "redistribute": [
34 {
35 "protocol": "ospf",
36 "metric": "3"
37 }
38 ],
39 "static-route": [
40 "10.0.1.0/24"
41 ]
42 }
43 }
44 }