IN order to support management, dmo-monitor will need to be able to return a response to stat requests that contains instructions for the dmo-wrapminer.
Initially, let's simply return this for simple success:
{
"commands": "",
"payload": {
}
}
and this to tell the wrapper to restart the miner:
{
"commands": "restart_miner",
"payload": {
}
}
In the future, we will need to be able to return additional commands, which should be comma delimited.
These should include (this is tentative)
"update_files" -- which would include a payload with links to download new files to overwrite what is on disk
"update_config" -- which would include a payload with a new .yaml conf file to use for dmo-wrapminer
IN order to support management, dmo-monitor will need to be able to return a response to stat requests that contains instructions for the dmo-wrapminer.
Initially, let's simply return this for simple success:
{
"commands": "",
"payload": {
}
}
and this to tell the wrapper to restart the miner:
{
"commands": "restart_miner",
"payload": {
}
}
In the future, we will need to be able to return additional commands, which should be comma delimited.
These should include (this is tentative)
"update_files" -- which would include a payload with links to download new files to overwrite what is on disk
"update_config" -- which would include a payload with a new .yaml conf file to use for dmo-wrapminer