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>