summaryrefslogtreecommitdiffstats
path: root/yang/example/ietf-rip.json
blob: bc762070f16699b81d9414f7d26b537c21942a70 (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
{
    "ietf-interfaces:interfaces": {
        "interface": [
            {
                "description": "Engineering",
                "name": "eth0"
            }
        ]
    },
    "ietf-routing:routing": {
        "control-plane-protocols": {
            "control-plane-protocol": [
                {
                    "name": "main",
                    "type": "ietf-rip:ripv2",
                    "ietf-rip:rip": {
                        "default-metric": "2",
                        "distance": "80",
                        "interfaces": {
                            "interface": [
                                {
                                    "interface": "eth0",
                                    "split-horizon": "poison-reverse"
                                }
                            ]
                        },
                        "originate-default-route": {
                            "enabled": "true"
                        },
                        "timers": {
                            "flush-interval": "241",
                            "holddown-interval": "181",
                            "update-interval": "31"
                        }
                    }
                }
            ]
        }
    }
}