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-26 13:02:17 +0100 |
commit | 525958ae8502a91f425bc59b98bec2e18cf3ffe0 (patch) | |
tree | 3c98ece0546d21ff34f1aaced062f5e906df9630 /src/virtual | |
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/virtual')
-rw-r--r-- | src/virtual/ogOperations.py | 6 |
1 files changed, 6 insertions, 0 deletions
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') |