summaryrefslogtreecommitdiff
path: root/op-mode-definitions/include/bgp/afi-common.xml.i
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-04-09 19:44:44 +0200
committerChristian Poessinger <christian@poessinger.com>2021-04-09 19:44:44 +0200
commit34d789579cda1a940ac65671b41466880267944b (patch)
tree2d4fe9d38bc8d5f3a99763dc7b9a1ca4a868a277 /op-mode-definitions/include/bgp/afi-common.xml.i
parentb80e72a4434d62ae99c3a82805aef87381987f7a (diff)
downloadvyos-1x-34d789579cda1a940ac65671b41466880267944b.tar.gz
vyos-1x-34d789579cda1a940ac65671b41466880267944b.zip
op-mode: bgp: move common includes to include/bgp directory
This change makes it easier to group all BGP related operational level command building blocks in one place.
Diffstat (limited to 'op-mode-definitions/include/bgp/afi-common.xml.i')
-rw-r--r--op-mode-definitions/include/bgp/afi-common.xml.i40
1 files changed, 40 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..e48482282
--- /dev/null
+++ b/op-mode-definitions/include/bgp/afi-common.xml.i
@@ -0,0 +1,40 @@
+<!-- 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>
+<leafNode name="summary">
+ <properties>
+ <help>Summary of BGP neighbor status</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
+</leafNode>
+<!-- included end -->