summaryrefslogtreecommitdiff
path: root/interface-definitions/include/source-address-ipv4-ipv6.xml.i
blob: 4da4698c2ab6f72ddaaf0d0c67f708d44d3e907d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!-- included start from source-address-ipv4-ipv6.xml.i -->
<leafNode name="source-address">
  <properties>
    <help>Source IP address used to initiate connection</help>
    <completionHelp>
      <script>${vyos_completion_dir}/list_local_ips.sh --both</script>
    </completionHelp>
    <valueHelp>
      <format>ipv4</format>
      <description>IPv4 source address</description>
    </valueHelp>
    <valueHelp>
      <format>ipv6</format>
      <description>IPv6 source address</description>
    </valueHelp>
    <constraint>
      <validator name="ipv4-address"/>
      <validator name="ipv6-address"/>
    </constraint>
    <multi/>
  </properties>
</leafNode>
<!-- included end -->