summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-rpki.xml
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2020-06-19 16:56:22 +0300
committerGitHub <noreply@github.com>2020-06-19 15:56:22 +0200
commita686e090b2bd19ce27d3d09318d63208448e0707 (patch)
tree227602605de719d2efbc6654d0c83779fba8419e /op-mode-definitions/show-rpki.xml
parent4b5793bced424034daa944400eb8c2f198d0d0d2 (diff)
downloadvyos-1x-a686e090b2bd19ce27d3d09318d63208448e0707.tar.gz
vyos-1x-a686e090b2bd19ce27d3d09318d63208448e0707.zip
op-mode: T2617: rewrite vyatta-op-quagga to XML
Diffstat (limited to 'op-mode-definitions/show-rpki.xml')
-rw-r--r--op-mode-definitions/show-rpki.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/op-mode-definitions/show-rpki.xml b/op-mode-definitions/show-rpki.xml
new file mode 100644
index 000000000..d68c3b862
--- /dev/null
+++ b/op-mode-definitions/show-rpki.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="rpki">
+ <properties>
+ <help>Show RPKI information</help>
+ </properties>
+ <children>
+ <leafNode name="cache-connection">
+ <properties>
+ <help>Show RPKI cache connections</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show rpki cache-connection"</command>
+ </leafNode>
+ <leafNode name="cache-server">
+ <properties>
+ <help>Show RPKI cache servers information</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show rpki cache-server"</command>
+ </leafNode>
+ <leafNode name="prefix-table">
+ <properties>
+ <help>Show RPKI-validated prefixes</help>
+ </properties>
+ <command>/usr/bin/vtysh -c "show rpki prefix-table"</command>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>