blob: 9e0f83e20c01cc4c521ec7c4da1a9ee41dde4ca4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
<?xml version="1.0"?>
<interfaceDefinition>
<node name="show">
<children>
<node name="rpki">
<properties>
<help>Show RPKI (Resource Public Key Infrastructure) information</help>
</properties>
<children>
<tagNode name="as-number">
<properties>
<help>Lookup by ASN in prefix table</help>
<completionHelp>
<list><ASNUM></list>
</completionHelp>
</properties>
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
</tagNode>
<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>
<tagNode name="prefix">
<properties>
<help>Lookup IP prefix and optionally ASN in prefix table</help>
<completionHelp>
<list><x.x.x.x/x> <h:h:h:h:h:h:h:h/x></list>
</completionHelp>
</properties>
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
<children>
<tagNode name="as-number">
<properties>
<help>AS Number</help>
<completionHelp>
<list><ASNUM></list>
</completionHelp>
</properties>
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $(echo $@ | sed -e "s/as-number //g")</command>
</tagNode>
</children>
</tagNode>
<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>
|