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