summaryrefslogtreecommitdiffstats
path: root/yang/example/ripd.json
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:53:30 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 09:53:30 +0000
commit2c7cac91ed6e7db0f6937923d2b57f97dbdbc337 (patch)
treec05dc0f8e6aa3accc84e3e5cffc933ed94941383 /yang/example/ripd.json
parentInitial commit. (diff)
downloadfrr-2c7cac91ed6e7db0f6937923d2b57f97dbdbc337.tar.xz
frr-2c7cac91ed6e7db0f6937923d2b57f97dbdbc337.zip
Adding upstream version 8.4.4.upstream/8.4.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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..0004062
--- /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": "true",
+ "distance": {
+ "source": [
+ {
+ "distance": "25",
+ "prefix": "172.16.1.0/24"
+ }
+ ]
+ },
+ "redistribute": [
+ {
+ "metric": "3",
+ "protocol": "ospf"
+ }
+ ],
+ "static-route": [
+ "10.0.1.0/24"
+ ]
+ }
+ ]
+ }
+}