restart_module

Restarts a given module on the select node scope.

If you want to restart the module on all nodes, you can use the deploy_module(name, nil) function with nil as second argument.

This function does not generate an event.

Function

restart_module(name)

Arguments

Argument Type Description
name str (required) Module to restart.

Return value

Returns nil.

Example

This code will reset the counters on a node:

restart_module('DEMO');

Return value in JSON format

null