summaryrefslogtreecommitdiff
path: root/op-mode-definitions/clear-dhcp-server-lease.xml.in
blob: aef0eb22a5180ef7bd54fadeae4fb84bf970a9e0 (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="clear">
    <children>
      <node name="dhcp-server">
        <properties>
          <help>Clear DHCP server lease</help>
        </properties>
        <children>
          <tagNode name="lease">
            <properties>
              <help>DHCP server lease</help>
            </properties>
            <command>sudo ${vyos_op_scripts_dir}/clear_dhcp_lease.py --ip $4</command>
          </tagNode>
        </children>
      </node>
    </children>
  </node>
</interfaceDefinition>