summaryrefslogtreecommitdiff
path: root/op-mode-definitions/openconnect.xml
blob: 9b82b114eedbd0cf03976f6cf26db3462a447ba0 (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>