summaryrefslogtreecommitdiff
path: root/op-mode-definitions/include/bgp/afi-common.xml.i
blob: 4d5f56656dbe8c31e1d035912bcd598393e39854 (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
<!-- 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>
    #include <include/bgp/exact-match.xml.i>
  </children>
  <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
</tagNode>
<tagNode name="large-community">
  <properties>
    <help>Display routes matching the large-communities</help>
    <completionHelp>
      <list>AA:BB:CC</list>
    </completionHelp>
  </properties>
  <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
  <children>
    #include <include/bgp/exact-match.xml.i>
  </children>
</tagNode>
<tagNode name="large-community-list">
  <properties>
    <help>Display routes matching the large-community-list</help>
    <completionHelp>
      <path>policy large-community-list</path>
    </completionHelp>
  </properties>
  <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command>
  <children>
    #include <include/bgp/exact-match.xml.i>
  </children>
</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 -->