summaryrefslogtreecommitdiff
path: root/op-mode-definitions/restart-snmp.xml.in
blob: e9c43de01c049ab6e8d4bd78dc38d9b4debf83a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<?xml version="1.0"?>
<interfaceDefinition>
  <node name="restart">
    <children>
      <node name="snmp">
        <properties>
          <help>Restart SNMP service</help>
        </properties>
        <command>sudo ${vyos_op_scripts_dir}/restart.py restart_service --name snmp</command>
      </node>
    </children>
  </node>
</interfaceDefinition>