summaryrefslogtreecommitdiff
path: root/interface-definitions/include/source-address-ipv4-ipv6.xml.i
blob: 93cfd7c63f8dfa8f17f11be346086c6d78acf690 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!-- 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="ip-address"/>
    </constraint>
  </properties>
</leafNode>
<!-- included end -->