summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-08-07 22:59:17 +0200
committerChristian Breunig <christian@breunig.cc>2023-08-07 23:05:12 +0200
commitf651b61d45a7500711d2f058faf1e2ce48179e0d (patch)
tree13ce32fd1b89437c5e836742af256c9047bc8058
parent9afcea251bdc895ffd49cb11f455fd636fdf817b (diff)
downloadvyos-1x-f651b61d45a7500711d2f058faf1e2ce48179e0d.tar.gz
vyos-1x-f651b61d45a7500711d2f058faf1e2ce48179e0d.zip
rpki: T2044: add "reset rpki" op-mode command
-rw-r--r--op-mode-definitions/rpki.xml.in (renamed from op-mode-definitions/show-rpki.xml.in)10
1 files changed, 10 insertions, 0 deletions
diff --git a/op-mode-definitions/show-rpki.xml.in b/op-mode-definitions/rpki.xml.in
index c1902ccec..72d378b88 100644
--- a/op-mode-definitions/show-rpki.xml.in
+++ b/op-mode-definitions/rpki.xml.in
@@ -29,4 +29,14 @@
</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>