vishesh92 commented on issue #11263:
URL: https://github.com/apache/cloudstack/issues/11263#issuecomment-3106357708

   @DaniloMurbach As of now the options are hardcoded in the UI. You can always 
create the compute offering using API.
   After https://github.com/apache/cloudstack/pull/11143/ is merged, you will 
be able to set the Compute Offering via UI.
   
   To create using `cmk`, you can use the below command.
   ```bash
   cmk create serviceoffering name=test123 cpunumber=1 cpuspeed=500 memory=1024 
serviceofferingdetails[1].key=pciDevice serviceofferingdetails[1].value="Group 
of NVIDIA Corporation GP100GL [Tesla P100 PCIe 16GB] GPUs" 
serviceofferingdetails[2].key=vgpuType 
serviceofferingdetails[2].value=passthrough diskofferingstrictness=false
   ```
   
   You need to ensure that the value for `serviceofferingdetails[1].value=` 
matches with group name in xenserver. You can check the group name with command 
 `xe gpu-group-list`. Since you want to use vGPUs, replace `passthrough` with 
the required profile e.g. `GRID P100-1B` or `GRID P100-2B`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to