summaryrefslogtreecommitdiffstats
path: root/yang/example/ripd.xml
diff options
context:
space:
mode:
Diffstat (limited to 'yang/example/ripd.xml')
-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..dad8361
--- /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>1</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>