summaryrefslogtreecommitdiff
path: root/op-mode-definitions/restart-ssh.xml.in
blob: 914586df8798c6bfc586f7ae5433661bddcd5ef2 (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="ssh">
        <properties>
          <help>Restart SSH service</help>
        </properties>
        <command>sudo ${vyos_op_scripts_dir}/restart.py restart_service --name ssh --vrf "*"</command>
      </node>
    </children>
  </node>
</interfaceDefinition>