core rest - added routes to parse throughput from /proc/net/dev and broadcast out over websocket

This commit is contained in:
bharnden 2018-12-12 17:30:55 -08:00
parent 9b1bc3e444
commit 4c260c288e
4 changed files with 100 additions and 2 deletions

View file

@ -19,7 +19,7 @@ def register(app):
logger.info("websocket client disconnected")
def broadtcast_file(file_data):
def broadcast_file(file_data):
socketio.emit("file", {
"message_type": file_data.message_type,
"node": file_data.node,