CLOUDSTACK-6447: Grid K120Q and K220Q vGPU types are missing in create service offering menu.

This commit is contained in:
Sanjay Tripathi 2014-04-18 13:19:35 +05:30
parent 29f39149b1
commit 5eaf3be44a
2 changed files with 12 additions and 2 deletions

View File

@ -26,8 +26,10 @@ public class GPU {
public enum vGPUType {
GRID_K100("GRID K100"),
GRID_K120Q("GRID K120Q"),
GRID_K140Q("GRID K140Q"),
GRID_K200("GRID K200"),
GRID_K220Q("GRID K220Q"),
GRID_K240Q("GRID K240Q"),
GRID_K260("GRID K260Q"),
passthrough("passthrough");

View File

@ -404,8 +404,8 @@
});
var vGpuMap = {};
vGpuMap['Group of NVIDIA Corporation GK107GL [GRID K1] GPUs'] = ['passthrough', 'GRID K100', 'GRID K140Q'];
vGpuMap['Group of NVIDIA Corporation GK104GL [GRID K2] GPUs'] = ['passthrough', 'GRID K200', 'GRID K240Q', 'GRID K260Q'];
vGpuMap['Group of NVIDIA Corporation GK107GL [GRID K1] GPUs'] = ['passthrough', 'GRID K100', 'GRID K120Q', 'GRID K140Q'];
vGpuMap['Group of NVIDIA Corporation GK104GL [GRID K2] GPUs'] = ['passthrough', 'GRID K200', 'GRID K220Q', 'GRID K240Q', 'GRID K260Q'];
args.$select.change(function() {
var gpu = $(this).val();
@ -453,6 +453,10 @@
id: 'GRID K100',
description: 'GRID K100'
});
items.push({
id: 'GRID K120Q',
description: 'GRID K120Q'
});
items.push({
id: 'GRID K140Q',
description: 'GRID K140Q'
@ -461,6 +465,10 @@
id: 'GRID K200',
description: 'GRID K200'
});
items.push({
id: 'GRID K220Q',
description: 'GRID K220Q'
});
items.push({
id: 'GRID K240Q',
description: 'GRID K240Q'