summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/neighbor-path-attribute.xml.i
blob: 30568d8c684bbf1f69fd48b474d992c0bc911c11 (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
<!-- include start from bgp/neighbor-path-attribute.xml.i -->
<node name="path-attribute">
  <properties>
    <help>Manipulate path attributes from incoming UPDATE messages</help>
  </properties>
  <children>
    <leafNode name="discard">
      <properties>
        <help>Drop specified attributes from incoming UPDATE messages</help>
        <valueHelp>
          <format>u32:1-255</format>
          <description>Attribute number</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--range 1-255"/>
        </constraint>
      </properties>
    </leafNode>
    <leafNode name="treat-as-withdraw">
      <properties>
        <help>Treat-as-withdraw any incoming BGP UPDATE messages that contain the specified attribute</help>
        <valueHelp>
          <format>u32:1-255</format>
          <description>Attribute number</description>
        </valueHelp>
        <constraint>
          <validator name="numeric" argument="--range 1-255"/>
        </constraint>
      </properties>
    </leafNode>
  </children>
</node>
<!-- include end -->