summaryrefslogtreecommitdiff
path: root/op-mode-definitions/pptp-server.xml.in
blob: f6f8104d8e04ca4b0f0499a8614912fa9ff3a6c6 (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
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="pptp-server">
        <properties>
          <help>Show PPTP (Point-to-Point Tunneling Protocol) server information</help>
        </properties>
        <children>
          <leafNode name="sessions">
            <properties>
              <help>Show active PPTP server sessions</help>
            </properties>
            <command>${vyos_op_scripts_dir}/ppp-server-ctrl.py --proto="pptp" --action="show sessions"</command>
          </leafNode>
          <leafNode name="statistics">
            <properties>
              <help>Show PPTP server statistics</help>
            </properties>
            <command>${vyos_op_scripts_dir}/ppp-server-ctrl.py --proto="pptp" --action="show stat"</command>
          </leafNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>