<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="l2tp-server">
        <properties>
          <help>Show L2TP server information</help>
        </properties>
        <children>
          <leafNode name="sessions">
            <properties>
              <help>Show active L2TP server sessions</help>
            </properties>
            <command>${vyos_op_scripts_dir}/ppp-server-ctrl.py --proto="l2tp" --action="show sessions"</command>
          </leafNode>
          <leafNode name="statistics">
            <properties>
              <help>Show L2TP server statistics</help>
            </properties>
            <command>${vyos_op_scripts_dir}/ppp-server-ctrl.py --proto="l2tp" --action="show stat"</command>
          </leafNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>