summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp-afi-l2vpn-common.xml.i
blob: 2bbf57532bff6a072527221887e55d284912aa24 (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
<!-- included start from bgp-afi-l2vpn-common.xml.i -->
<leafNode name="advertise-default-gw">
  <properties>
    <help>Advertise All default g/w mac-ip routes in EVPN</help>
    <valueless/>
  </properties>
</leafNode>
<leafNode name="advertise-svi-ip">
  <properties>
    <help>Advertise svi mac-ip routes in EVPN</help>
    <valueless/>
  </properties>
</leafNode>
<leafNode name="rd">
  <properties>
    <help>Route Distinguisher</help>
    <valueHelp>
      <format>txt</format>
      <description>Route Distinguisher, (x.x.x.x:yyy|xxxx:yyyy)</description>
    </valueHelp>
    <constraint>
      <regex>^((25[0-5]|2[0-4][0-9]|[1][0-9][0-9]|[1-9][0-9]|[0-9]?)(\.(25[0-5]|2[0-4][0-9]|[1][0-9][0-9]|[1-9][0-9]|[0-9]?)){3}|[0-9]{1,10}):[0-9]{1,5}$</regex>
    </constraint>
  </properties>
</leafNode>
#include <include/bgp-route-target.xml.i>
<!-- included end -->