summaryrefslogtreecommitdiff
path: root/interface-definitions/include/tunnel-local-remote-ip.xml.i
blob: 85c20f482092ad5a11916cb1b9988d18d54306d9 (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
<!-- included start from tunnel-local-remote-ip.xml.i -->
<leafNode name="local-ip">
  <properties>
    <help>Local IP address for this tunnel</help>
    <valueHelp>
      <format>ipv4</format>
      <description>Local IPv4 address for this tunnel</description>
    </valueHelp>
    <valueHelp>
      <format>ipv6</format>
      <description>Local IPv6 address for this tunnel</description>
    </valueHelp>
    <completionHelp>
      <script>${vyos_completion_dir}/list_local_ips.sh --both</script>
    </completionHelp>
    <constraint>
      <validator name="ip-address"/>
    </constraint>
  </properties>
</leafNode>
<leafNode name="remote-ip">
  <properties>
    <help>Remote IP address for this tunnel</help>
    <valueHelp>
      <format>ipv4</format>
      <description>Remote IPv4 address for this tunnel</description>
    </valueHelp>
    <valueHelp>
      <format>ipv6</format>
      <description>Remote IPv6 address for this tunnel</description>
    </valueHelp>
    <constraint>
      <!-- does it need fixing/changing to be more restrictive ? -->
      <validator name="ip-address"/>
    </constraint>
  </properties>
</leafNode>