<?xml version="1.0"?>
<interfaceDefinition>
  <node name="vpn">
    <children>
      <node name="pptp" owner="${vyos_conf_scripts_dir}/vpn_pptp.py">
        <properties>
          <help>Point to Point Tunneling Protocol (PPTP) Virtual Private Network (VPN)</help>
          <priority>901</priority>
        </properties>
        <children>
          <node name="remote-access">
            <properties>
              <help>Remote access PPTP VPN</help>
            </properties>
            <children>
              <node name="authentication">
                <properties>
                  <help>Authentication for remote access PPTP VPN</help>
                </properties>
                <children>
                  #include <include/accel-ppp/auth-local-users.xml.i>
                  #include <include/accel-ppp/auth-mode.xml.i>
                  #include <include/accel-ppp/auth-protocols.xml.i>
                  #include <include/radius-auth-server-ipv4.xml.i>
                  #include <include/accel-ppp/radius-additions.xml.i>
                  <node name="radius">
                    <children>
                      #include <include/accel-ppp/radius-additions-rate-limit.xml.i>
                    </children>
                  </node>
                </children>
              </node>
              <leafNode name="outside-address">
                <properties>
                  <help>External IP address to which VPN clients will connect</help>
                  <constraint>
                    <validator name="ipv4-address"/>
                  </constraint>
                </properties>
              </leafNode>
              #include <include/accel-ppp/client-ip-pool.xml.i>
              #include <include/accel-ppp/client-ipv6-pool.xml.i>
              #include <include/accel-ppp/default-pool.xml.i>
              #include <include/accel-ppp/default-ipv6-pool.xml.i>
              #include <include/accel-ppp/extended-scripts.xml.i>
              #include <include/accel-ppp/gateway-address.xml.i>
              #include <include/accel-ppp/limits.xml.i>
              #include <include/accel-ppp/max-concurrent-sessions.xml.i>
              #include <include/accel-ppp/mtu-128-16384.xml.i>
              <leafNode name="mtu">
                <defaultValue>1436</defaultValue>
              </leafNode>
              #include <include/accel-ppp/ppp-options.xml.i>
              #include <include/accel-ppp/shaper.xml.i>
              #include <include/accel-ppp/snmp.xml.i>
              #include <include/accel-ppp/wins-server.xml.i>
              #include <include/generic-description.xml.i>
              #include <include/name-server-ipv4-ipv6.xml.i>
            </children>
          </node>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>