summaryrefslogtreecommitdiff
path: root/interface-definitions/include/listen-address.xml.i
blob: f6ee676f4aa187f3bfbc2f3b9093db77be7e286d (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
<!-- include start from listen-address.xml.i -->
<leafNode name="listen-address">
  <properties>
    <help>Local IP addresses for service to listen on</help>
    <completionHelp>
      <script>${vyos_completion_dir}/list_local_ips.sh --both</script>
    </completionHelp>
    <valueHelp>
      <format>ipv4</format>
      <description>IP address to listen for incoming connections</description>
    </valueHelp>
    <valueHelp>
      <format>ipv6</format>
      <description>IPv6 address to listen for incoming connections</description>
    </valueHelp>
    <multi/>
    <constraint>
      <validator name="ipv4-address"/>
      <validator name="ipv6-address"/>
      <validator name="ipv6-link-local"/>
    </constraint>
  </properties>
</leafNode>
<!-- include end -->