Create something so that another process can PIPEOUT to this process, and it sends commands to nominated switches. Use a simple textual format that other processes/scripts can easily generate, essentially turning this into a little service driven by stdin.
An idea from here: https://github.com/whaleygeek/pyenergenie/issues/78
Create something so that another process can PIPEOUT to this process, and it sends commands to nominated switches. Use a simple textual format that other processes/scripts can easily generate, essentially turning this into a little service driven by stdin.