summaryrefslogtreecommitdiff
path: root/op-mode-definitions/rpki.xml.in
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/rpki.xml.in')
-rw-r--r--op-mode-definitions/rpki.xml.in42
1 files changed, 42 insertions, 0 deletions
diff --git a/op-mode-definitions/rpki.xml.in b/op-mode-definitions/rpki.xml.in
new file mode 100644
index 000000000..72d378b88
--- /dev/null
+++ b/op-mode-definitions/rpki.xml.in
@@ -0,0 +1,42 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="rpki">
+ <properties>
+ <help>Show RPKI (Resource Public Key Infrastructure) information</help>
+ </properties>
+ <children>
+ <leafNode name="cache-connection">
+ <properties>
+ <help>Show RPKI cache connections</help>
+ </properties>
+ <command>vtysh -c "show rpki cache-connection"</command>
+ </leafNode>
+ <leafNode name="cache-server">
+ <properties>
+ <help>Show RPKI cache servers information</help>
+ </properties>
+ <command>vtysh -c "show rpki cache-server"</command>
+ </leafNode>
+ <leafNode name="prefix-table">
+ <properties>
+ <help>Show RPKI-validated prefixes</help>
+ </properties>
+ <command>vtysh -c "show rpki prefix-table"</command>
+ </leafNode>
+ </children>
+ </node>
+ </children>
+ </node>
+ <node name="reset">
+ <children>
+ <leafNode name="rpki">
+ <properties>
+ <help>Reset RPKI</help>
+ </properties>
+ <command>vtysh -c "rpki reset"</command>
+ </leafNode>
+ </children>
+ </node>
+</interfaceDefinition>