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