Skip to content

Commit 29b09b1

Browse files
committed
T7227: show bgp: add filtering by rd and prefix option for ipv4/6 vpn table
1 parent b12c9ec commit 29b09b1

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!-- included start from bgp/afi-ipv4-ipv6-vpn-rd.xml.i -->
2+
<tagNode name="rd">
3+
<properties>
4+
<help>Display routes matching the route distinguisher</help>
5+
<completionHelp>
6+
<list>ASN:NN IPADDRESS:NN all</list>
7+
</completionHelp>
8+
</properties>
9+
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
10+
<children>
11+
<tagNode name="">
12+
<properties>
13+
<help>Show IP routes of specified prefix</help>
14+
<completionHelp>
15+
<list>&lt;x.x.x.x/x&gt; &lt;x:x:x:x:x:x:x:x/x&gt;</list>
16+
</completionHelp>
17+
</properties>
18+
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
19+
</tagNode>
20+
</children>
21+
</tagNode>
22+
<!-- included end -->

op-mode-definitions/include/bgp/afi-ipv4-ipv6-vpn.xml.i

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<children>
1919
#include <include/bgp/afi-common.xml.i>
2020
#include <include/bgp/afi-ipv4-ipv6-common.xml.i>
21+
#include <include/bgp/afi-ipv4-ipv6-vpn-rd.xml.i>
2122
</children>
2223
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
2324
</node>

0 commit comments

Comments
 (0)