blob: 4753cfb938626d122bd1bd87af8f84d6fa51aa80 (
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
<?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>
<children>
#include <include/rpki/vrf.xml.i>
</children>
</tagNode>
<node name="cache-connection">
<properties>
<help>Show RPKI cache connections</help>
</properties>
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
<children>
#include <include/rpki/vrf.xml.i>
</children>
</node>
<node name="cache-server">
<properties>
<help>Show RPKI cache servers information</help>
</properties>
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
<children>
#include <include/rpki/vrf.xml.i>
</children>
</node>
<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>
<children>
<tagNode name="vrf">
<properties>
<help>Virtual Routing and Forwarding (VRF)</help>
<completionHelp>
<path>vrf name</path>
</completionHelp>
</properties>
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $(echo $@ | sed -e "s/as-number //g")</command>
</tagNode>
</children>
</tagNode>
#include <include/rpki/vrf.xml.i>
</children>
</tagNode>
<node name="prefix-table">
<properties>
<help>Show RPKI-validated prefixes</help>
</properties>
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
<children>
#include <include/rpki/vrf.xml.i>
</children>
</node>
</children>
</node>
</children>
</node>
<node name="reset">
<children>
<node name="rpki">
<properties>
<help>Reset RPKI</help>
</properties>
<command>vtysh -c "rpki reset"</command>
<children>
<tagNode name="vrf">
<properties>
<help>Reset RPKI in VRF</help>
<completionHelp>
<path>vrf name</path>
</completionHelp>
</properties>
<command>vtysh -c "rpki reset vrf $4"</command>
</tagNode>
</children>
</node>
</children>
</node>
</interfaceDefinition>
|