From 8f437bb954266d1da31c7044edcdc2d9f4cef540 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Sat, 28 Sep 2024 23:13:53 +0200 Subject: live: remove unused probe unused since ogserver's commit 87be2ce08 #980 Change initial probe to refresh --- src/live/ogOperations.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/live/ogOperations.py') diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py index d0a848b..2f59711 100644 --- a/src/live/ogOperations.py +++ b/src/live/ogOperations.py @@ -809,11 +809,3 @@ class OgLiveOperations: logging.info('Sending response to refresh request') return json_body - - def probe(self, ogRest): - - interface = os.getenv('DEVICE') - speed = ethtool(interface) - - return {'status': 'OPG' if ogRest.state != ThreadState.BUSY else 'BSY', - 'speed': speed} -- cgit v1.2.3-18-g5258