Stop and start calls added
Along with refactoring to base line and use decorators.
Also modules loaded optionally if enabled in config or not
binds to ip / port set from config.json with warning if not localhost

TODO:
 - use argparse in client, and generally clean client up
 - create unit test
 - documentation
 - extend to other RCP commands, after feedback
This commit is contained in:
creslinux 2018-06-14 15:44:12 +00:00
parent cbfa9e8355
commit b101a2608a

View File

@ -95,7 +95,7 @@ class LocalRestSuperWrap(RPC):
""" """
Section to handle configuration and running of the Rest serve Section to handle configuration and running of the Rest serve
also to check and warn if not bound to 127.0.0.1 as a security risk also to check and warn if not bound to 127.0.0.1 as a security risk.
""" """
rest_ip = self._config['rest_cmd_line']['listen_ip_address'] rest_ip = self._config['rest_cmd_line']['listen_ip_address']