summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ip-rip.xml
diff options
context:
space:
mode:
authorsever-sever <v.gletenko@vyos.io>2020-05-26 12:11:59 +0000
committersever-sever <v.gletenko@vyos.io>2020-05-26 12:11:59 +0000
commitb4ecc04de84d8742b23e7f6d7aef355558fe58a7 (patch)
treec080f59898dcd7dbc80cbfaf3b321e4232e7a146 /op-mode-definitions/show-ip-rip.xml
parent7962382808975ef136d1b1c5e5105f86f07d924c (diff)
downloadvyos-1x-b4ecc04de84d8742b23e7f6d7aef355558fe58a7.tar.gz
vyos-1x-b4ecc04de84d8742b23e7f6d7aef355558fe58a7.zip
[op-mode]: T2512: New XML format for show ip
Diffstat (limited to 'op-mode-definitions/show-ip-rip.xml')
-rw-r--r--op-mode-definitions/show-ip-rip.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/op-mode-definitions/show-ip-rip.xml b/op-mode-definitions/show-ip-rip.xml
new file mode 100644
index 000000000..b61ab10a7
--- /dev/null
+++ b/op-mode-definitions/show-ip-rip.xml
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="ip">
+ <properties>
+ <help>Show IPv4 routing information</help>
+ </properties>
+ <children>
+ <node name="rip">
+ <properties>
+ <help>Show Routing Information Protocol (RIP) information</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show ip rip"</command>
+ <children>
+ <leafNode name="status">
+ <properties>
+ <help>Show RIP protocol status</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show ip rip status"</command>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>