summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/afi-route-map.xml.i
blob: 24a5ddd126fc83a084fb55d7d974b39ec13e4c9e (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
<!-- include start from bgp/afi-route-map.xml.i -->
<node name="route-map">
  <properties>
    <help>Route-map to filter route updates to/from this peer</help>
  </properties>
  <children>
    <leafNode name="export">
      <properties>
        <help>Route-map to filter outgoing route updates</help>
        <completionHelp>
          <path>policy route-map</path>
        </completionHelp>
        <valueHelp>
          <format>txt</format>
          <description>Route map name</description>
        </valueHelp>
        <constraint>
          <regex>^[-_a-zA-Z0-9.]+$</regex>
        </constraint>
        <constraintErrorMessage>Name of route-map can only contain alpha-numeric letters, hyphen and underscores</constraintErrorMessage>
      </properties>
    </leafNode>
    <leafNode name="import">
      <properties>
        <help>Route-map to filter incoming route updates</help>
        <completionHelp>
          <path>policy route-map</path>
        </completionHelp>
        <valueHelp>
          <format>txt</format>
          <description>Route map name</description>
        </valueHelp>
        <constraint>
          <regex>^[-_a-zA-Z0-9.]+$</regex>
        </constraint>
        <constraintErrorMessage>Name of route-map can only contain alpha-numeric letters, hyphen and underscores</constraintErrorMessage>
      </properties>
    </leafNode>
  </children>
</node>
<!-- include end -->