summaryrefslogtreecommitdiffstats
path: root/yang/example/ripd.xml
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.xml
parentInitial commit. (diff)
downloadfrr-upstream.tar.xz
frr-upstream.zip
Adding upstream version 8.4.4.upstream/8.4.4upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--yang/example/ripd.xml35
1 files changed, 35 insertions, 0 deletions
diff --git a/yang/example/ripd.xml b/yang/example/ripd.xml
new file mode 100644
index 0000000..2feddde
--- /dev/null
+++ b/yang/example/ripd.xml
@@ -0,0 +1,35 @@
+<lib xmlns="http://frrouting.org/yang/interface">
+ <interface>
+ <name>eth0</name>
+ <vrf>default</vrf>
+ <description>engineering</description>
+ <rip xmlns="http://frrouting.org/yang/ripd">
+ <split-horizon>poison-reverse</split-horizon>
+ <version-receive>1</version-receive>
+ <version-send>1</version-send>
+ <v2-broadcast>true</v2-broadcast>
+ </rip>
+ </interface>
+ <interface>
+ <name>eth1</name>
+ <vrf>default</vrf>
+ <description>marketing</description>
+ </interface>
+</lib>
+<ripd xmlns="http://frrouting.org/yang/ripd">
+ <instance>
+ <vrf>default</vrf>
+ <allow-ecmp>true</allow-ecmp>
+ <static-route>10.0.1.0/24</static-route>
+ <distance>
+ <source>
+ <prefix>172.16.1.0/24</prefix>
+ <distance>25</distance>
+ </source>
+ </distance>
+ <redistribute>
+ <protocol>ospf</protocol>
+ <metric>3</metric>
+ </redistribute>
+ </instance>
+</ripd>