I think the best way to implement this is to add "amount of cpu" and "amount of memory" to lab_docker_image. then an admin can create a lab and specify the resources for each vm.
in addition to this, the docker_image should have attributes for "minimum amount of memory" and "minimum amount of cpus". This may be used as default values when creating new lab docker images, or at least a hint for the admin that adds this vm to the lab.
the VirtualMachineInstanceController.create method adds hardcoded valued to the vmi template. this includes the amount of cpus and the amount of RAM:
https://github.com/LabOrchestrator/LabOrchestratorLib/blob/main/src/lab_orchestrator_lib/controller/controller.py#L232
this values should be configurable.
I think the best way to implement this is to add "amount of cpu" and "amount of memory" to lab_docker_image. then an admin can create a lab and specify the resources for each vm.
in addition to this, the docker_image should have attributes for "minimum amount of memory" and "minimum amount of cpus". This may be used as default values when creating new lab docker images, or at least a hint for the admin that adds this vm to the lab.