summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ip-rip.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-05-26 17:10:26 +0200
committerGitHub <noreply@github.com>2020-05-26 17:10:26 +0200
commite11bd16865a5bfd3317d3ac8539dc3cf92723fcd (patch)
tree10161d481c67e654dcafdf99c5517af5d1dd41a1 /op-mode-definitions/show-ip-rip.xml
parent0cdfa72d5ccd8a2d382164a1ec39865802d1be7c (diff)
parentb4ecc04de84d8742b23e7f6d7aef355558fe58a7 (diff)
downloadvyos-1x-e11bd16865a5bfd3317d3ac8539dc3cf92723fcd.tar.gz
vyos-1x-e11bd16865a5bfd3317d3ac8539dc3cf92723fcd.zip
Merge pull request #432 from sever-sever/T2512
[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>