summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/linux/ogOperations.py7
-rw-r--r--src/virtual/ogOperations.py6
-rw-r--r--src/windows/ogOperations.py10
3 files changed, 19 insertions, 4 deletions
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):
diff --git a/src/virtual/ogOperations.py b/src/virtual/ogOperations.py
index 73d41db..c51f59d 100644
--- a/src/virtual/ogOperations.py
+++ b/src/virtual/ogOperations.py
@@ -253,6 +253,9 @@ class OgVirtualOperations:
qemu = OgVM(part_path)
qemu.run_vm()
+ def software(self, request, ogRest):
+ raise OgError('Function not implemented')
+
def partitions_cfg_to_json(self, data):
for part in data['partition_setup']:
part.pop('virt-drive')
@@ -469,6 +472,9 @@ class OgVirtualOperations:
return json_dict
+ def image_create(self, request, ogRest):
+ raise OgError('Function not implemented')
+
def cache_delete(self, request, ogRest):
raise OgError('Function not implemented')
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):