From a0f85303525825218bedd4c525c5a5ceceeb6667 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/virtual/ogOperations.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/virtual/ogOperations.py') 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') -- cgit v1.2.3-18-g5258