diff options
author | Christian Breunig <christian@breunig.cc> | 2023-08-07 22:59:17 +0200 |
---|---|---|
committer | Christian Breunig <christian@breunig.cc> | 2023-08-07 23:05:12 +0200 |
commit | f651b61d45a7500711d2f058faf1e2ce48179e0d (patch) | |
tree | 13ce32fd1b89437c5e836742af256c9047bc8058 /op-mode-definitions/rpki.xml.in | |
parent | 9afcea251bdc895ffd49cb11f455fd636fdf817b (diff) | |
download | vyos-1x-f651b61d45a7500711d2f058faf1e2ce48179e0d.tar.gz vyos-1x-f651b61d45a7500711d2f058faf1e2ce48179e0d.zip |
rpki: T2044: add "reset rpki" op-mode command
Diffstat (limited to 'op-mode-definitions/rpki.xml.in')
-rw-r--r-- | op-mode-definitions/rpki.xml.in | 42 |
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> |