added bmminer and cgminer functions for implementation

This commit is contained in:
UpstreamData
2021-10-21 15:09:38 -06:00
parent b11f992b43
commit d57e6db0e5
3 changed files with 22 additions and 3 deletions

View File

@@ -11,4 +11,13 @@ class BMMiner(BaseMiner):
return f"BMMiner: {str(self.ip)}"
async def send_config(self):
return None
return None # ignore for now
async def restart_backend(self) -> None:
return None # Murray
async def reboot(self) -> None:
return None # Murray
async def get_config(self) -> None:
return None # Murray

View File

@@ -49,7 +49,7 @@ class BOSminer(BaseMiner):
async def fault_light_off(self) -> None:
await self.send_ssh_command('miner fault_light off')
async def bosminer_restart(self) -> None:
async def restart_backend(self) -> None:
await self.send_ssh_command('/etc/init.d/bosminer restart')
async def reboot(self) -> None:

View File

@@ -11,4 +11,14 @@ class CGMiner(BaseMiner):
return f"CGMiner: {str(self.ip)}"
async def send_config(self):
return None
return None # ignore for now
async def restart_backend(self) -> None:
return None # Murray
async def reboot(self) -> None:
return None # Murray
async def get_config(self) -> None:
return None # Murray