summaryrefslogtreecommitdiff
path: root/interface-definitions/include/static-route-next-hop-interface.xml.i
blob: 01c253597c8199f2eb0d47d063f7c5a61c93315c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!-- included start from static-route-next-hop-interface.xml.i -->
<leafNode name="interface">
  <properties>
    <help>Gateway interface name</help>
    <completionHelp>
      <script>${vyos_completion_dir}/list_interfaces.py</script>
    </completionHelp>
    <valueHelp>
      <format>txt</format>
      <description>Gateway interface name</description>
    </valueHelp>
    <constraint>
      <regex>^(br|bond|dum|en|eth|gnv|peth|tun|vti|vxlan|wg|wlan)[0-9]+|lo$</regex>
    </constraint>
  </properties>
</leafNode>
<!-- included end -->