summaryrefslogtreecommitdiff
path: root/op-mode-definitions/openconnect.xml.in
blob: 36f23239ef0fb9159ec3b9ded2fda9bbf5cf94e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?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>
</interfaceDefinition>