summaryrefslogtreecommitdiffstats
path: root/yang/example/ietf-rip.json
diff options
context:
space:
mode:
Diffstat (limited to 'yang/example/ietf-rip.json')
-rw-r--r--yang/example/ietf-rip.json40
1 files changed, 40 insertions, 0 deletions
diff --git a/yang/example/ietf-rip.json b/yang/example/ietf-rip.json
new file mode 100644
index 0000000..bc76207
--- /dev/null
+++ b/yang/example/ietf-rip.json
@@ -0,0 +1,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"
+ }
+ }
+ }
+ ]
+ }
+ }
+}