summaryrefslogtreecommitdiff
path: root/interface-definitions/include/bgp/neighbor-update-source.xml.i
blob: 0acec41266f20ae9354fda611fbe224c6a21e6b1 (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
<!-- include start from bgp/neighbor-update-source.xml.i -->
<leafNode name="update-source">
  <!-- Need to check format interfaces -->
  <properties>
    <help>Source IP of routing updates</help>
    <completionHelp>
      <script>${vyos_completion_dir}/list_local_ips.sh --both</script>
      <script>${vyos_completion_dir}/list_interfaces</script>
    </completionHelp>
    <valueHelp>
      <format>ipv4</format>
      <description>IPv4 address of route source</description>
    </valueHelp>
    <valueHelp>
      <format>ipv6</format>
      <description>IPv6 address of route source</description>
    </valueHelp>
    <valueHelp>
      <format>txt</format>
      <description>Interface as route source</description>
    </valueHelp>
    <constraint>
      <validator name="ipv4-address"/>
      <validator name="ipv6-address"/>
      #include <include/constraint/interface-name.xml.in>
    </constraint>
  </properties>
</leafNode>
<!-- include end -->