An open platform made to optimize resources in computer science labs.
$ python ecolab.py check [-a] [-i IP]
-
-a: Returns a list of all registered machines and their status.
-
-i: Returns the status (ON/OFF) of a specific machine.
$ python ecolab.py add [IP:MAC]
- Adds a machine to the network.
$ python ecolab.py remove [IP/MAC]
- Removes a machine from the network.
$ python ecolab.py wake [-a] [-i IP]
-
-a: Turns on all registered machines.
-
-i: Turns on a specific machine.
$ python ecolab.py down [-a] [-i IP]
-
-a: Turns off all registered machines.
-
-i: Turns off a specific machine.
$ python ecolab.py sethour [-w] [-d] hh:mm
-
-w: Sets a time at which a machine turns on.
-
-d: Sets a time at which a machine turns off.