From 525958ae8502a91f425bc59b98bec2e18cf3ffe0 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Mon, 11 Nov 2024 14:34:45 +0100 Subject: src: update functions for every ogClient mode Add missing ogClient mode functions and show an error in every unimplemented function. --- src/linux/ogOperations.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/linux') diff --git a/src/linux/ogOperations.py b/src/linux/ogOperations.py index 44684e9..6135bb1 100644 --- a/src/linux/ogOperations.py +++ b/src/linux/ogOperations.py @@ -44,7 +44,10 @@ class OgLinuxOperations: def session(self, request, ogRest): raise OgError('Function not implemented') - def hardware(self, path, ogRest): + def software(self, request, ogRest): + raise OgError('Function not implemented') + + def hardware(self, ogRest): raise OgError('Function not implemented') def setup(self, request, ogRest): @@ -53,7 +56,7 @@ class OgLinuxOperations: def image_restore(self, request, ogRest): raise OgError('Function not implemented') - def image_create(self, path, request, ogRest): + def image_create(self, request, ogRest): raise OgError('Function not implemented') def cache_delete(self, request, ogRest): -- cgit v1.2.3-18-g5258