diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-11-11 14:34:45 +0100 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-11-15 10:47:05 +0100 |
commit | a0f85303525825218bedd4c525c5a5ceceeb6667 (patch) | |
tree | 72db644d49d137050c80b8d4229a93eb57591cb0 /src/windows/ogOperations.py | |
parent | d7658f03abaf3e65385baf25b1de23b9ac6e53c3 (diff) |
src: update functions for every ogClient mode
Add missing ogClient mode functions and show an error in every
unimplemented function.
Diffstat (limited to 'src/windows/ogOperations.py')
-rw-r--r-- | src/windows/ogOperations.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/windows/ogOperations.py b/src/windows/ogOperations.py index 4eae217..fcd6a20 100644 --- a/src/windows/ogOperations.py +++ b/src/windows/ogOperations.py @@ -80,6 +80,9 @@ class OgWindowsOperations: os.system('shutdown -r -t 0') def shellrun(self, request, ogRest): + raise OgError('Function not implemented') + + def cmdrun(self, request, ogRest): cmd = request.getrun() try: result = subprocess.run(cmd, @@ -99,7 +102,10 @@ class OgWindowsOperations: 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): @@ -108,7 +114,7 @@ class OgWindowsOperations: 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): |