summaryrefslogtreecommitdiff
path: root/op-mode-definitions/include/bgp/afi-common.xml.i
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2021-08-02 03:29:12 -0500
committerDaniil Baturin <daniil@vyos.io>2021-08-02 03:29:12 -0500
commitf0148b9306846a34c86f1726fd7ffb37143c94c7 (patch)
treef59896e306ddc21130e6d2682795f623abed7fb1 /op-mode-definitions/include/bgp/afi-common.xml.i
parent50a1392564611951142b8a2ca7d2af0dc4cb5cc7 (diff)
parentf83a5125735bb2f63e4d98e1b264eb689a2ef00f (diff)
downloadvyos-1x-f0148b9306846a34c86f1726fd7ffb37143c94c7.tar.gz
vyos-1x-f0148b9306846a34c86f1726fd7ffb37143c94c7.zip
Merge branch 'equuleus' of https://github.com/vyos/vyos-1x into equuleus
Diffstat (limited to 'op-mode-definitions/include/bgp/afi-common.xml.i')
-rw-r--r--op-mode-definitions/include/bgp/afi-common.xml.i55
1 files changed, 55 insertions, 0 deletions
diff --git a/op-mode-definitions/include/bgp/afi-common.xml.i b/op-mode-definitions/include/bgp/afi-common.xml.i
new file mode 100644
index 000000000..7fc59f3b0
--- /dev/null
+++ b/op-mode-definitions/include/bgp/afi-common.xml.i
@@ -0,0 +1,55 @@
+<!-- included start from bgp/afi-common.xml.i -->
+<tagNode name="community">
+ <properties>
+ <help>Community number where AA and NN are (0-65535)</help>
+ <completionHelp>
+ <list>AA:NN</list>
+ </completionHelp>
+ </properties>
+ <children>
+ <leafNode name="exact-match">
+ <properties>
+ <help>Exact match of the communities</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </leafNode>
+ </children>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+</tagNode>
+<tagNode name="large-community">
+ <properties>
+ <help>List of large-community numbers</help>
+ <completionHelp>
+ <list>AA:BB:CC</list>
+ </completionHelp>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+</tagNode>
+<leafNode name="statistics">
+ <properties>
+ <help>RIB advertisement statistics</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+</leafNode>
+<node name="summary">
+ <properties>
+ <help>Summary of BGP neighbor status</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ <children>
+ <leafNode name="established">
+ <properties>
+ <help>Show only sessions in Established state</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </leafNode>
+ <leafNode name="failed">
+ <properties>
+ <help>Show only sessions not in Established state</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+ </leafNode>
+ </children>
+</node>
+#include <include/vtysh-generic-wide.xml.i>
+<!-- included end -->