summaryrefslogtreecommitdiff
path: root/op-mode-definitions/openconnect.xml.in
blob: 005b0e5e840509c1f037b69e32e1b10ea0df515c (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
27
28
29
30
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="show">
    <children>
      <node name="openconnect-server">
        <properties>
          <help>show openconnect-server information</help>
        </properties>
        <children>
          <leafNode name="sessions">
            <properties>
              <help>Show active openconnect server sessions</help>
            </properties>
            <command>${vyos_op_scripts_dir}/openconnect-control.py --action="show_sessions"</command>
          </leafNode>
        </children>
      </node>
    </children>
  </node>
  <node name="restart">
    <children>
      <leafNode name="openconnect-server">
        <properties>
          <help>Restart openconnect server process</help>
        </properties>
        <command>${vyos_op_scripts_dir}/openconnect-control.py --action="restart"</command>
      </leafNode>
    </children>
  </node>
</interfaceDefinition>